github.com/abayer/test-infra@v0.0.5/velodrome/token-counter/deployment.yaml (about) 1 apiVersion: extensions/v1beta1 2 kind: Deployment 3 metadata: 4 name: token-counter 5 labels: 6 app: token-counter 7 spec: 8 replicas: 1 9 template: 10 metadata: 11 labels: 12 app: token-counter 13 spec: 14 containers: 15 - name: token-counter 16 args: 17 - --stderrthreshold=0 18 - --influx-host=http://influxdb-kubernetes:8086 19 - --influx-password=$(INFLUXDB_ROOT_PWD) 20 - --token=/github-tokens/k8s-merge-robot 21 - --token=/github-tokens/k8s-ci-robot 22 image: k8s.gcr.io/github-token-counter:v20170303-212840 23 env: 24 - name: INFLUXDB_ROOT_PWD 25 valueFrom: 26 secretKeyRef: 27 name: influxdb-kubernetes 28 key: rootpassword 29 volumeMounts: 30 - mountPath: /github-tokens 31 readOnly: true 32 name: github-tokens-secret 33 volumes: 34 - name: github-tokens-secret 35 secret: 36 secretName: github-tokens