Public | Automated Build

Last pushed: 3 months ago
Short Description
python:3.6-alpine
Full Description
    kind: Deployment
    apiVersion: extensions/v1beta1
    metadata:
        name: k8bot
        labels:
          app: k8bot
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: k8bot
      template:
        metadata:
          labels:
            app: k8bot
        spec:
            containers:
              -
                name: k8bot
                image: "dmitrz/k8bot"
                imagePullPolicy: Always
                env:
                - name: TOKEN
                  valueFrom:
                    configMapKeyRef:
                      name: k8bot-conf
                      key: token
                - name: CHANNEL
                  valueFrom:
                    configMapKeyRef:
                      name: k8bot-conf
                      key: channel
                volumeMounts:
                - mountPath: /root/
                  name: git-volume
            volumes:
            - name: git-volume
              gitRepo:
                repository: "https://-readonly:PASS@bitbucket.org/PROJECT/.kube.git"


    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: k8bot-conf
    data:
      token: ""
      channel: ""
Docker Pull Command
Owner
dmitrz
Source Repository

Comments (0)