Skip to content

Commit

Permalink
Merge pull request #2363 from zalando-incubator/more-optional-worker-…
Browse files Browse the repository at this point in the history
…config

allow more optional config settings
  • Loading branch information
mikkeloscar authored Jul 31, 2019
2 parents d6308b5 + a632fe3 commit 2f11dc1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions cluster/manifests/zmon-worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,44 @@ spec:
secretKeyRef:
name: zmon-worker
key: sql-pass

- name: WORKER_PLUGIN_HTTP_OAUTH2_TOKENS
valueFrom:
configMapKeyRef:
name: zmon-worker-optional-config
key: WORKER_PLUGIN_HTTP_OAUTH2_TOKENS
optional: true
- name: WORKER_PLUGIN_REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: zmon-worker-optional-secret
key: WORKER_PLUGIN_REDIS_PASSWORD
optional: true
- name: WORKER_PLUGIN_CASSANDRA_USER
valueFrom:
configMapKeyRef:
name: zmon-worker-optional-config
key: WORKER_PLUGIN_CASSANDRA_USER
optional: true
- name: WORKER_PLUGIN_CASSANDRA_PASS
valueFrom:
secretKeyRef:
name: zmon-worker-optional-secret
key: WORKER_PLUGIN_CASSANDRA_PASS
optional: true
- name: WORKER_PLUGIN_ELASTICSEARCH_URL
valueFrom:
configMapKeyRef:
name: zmon-worker-optional-config
key: WORKER_PLUGIN_ELASTICSEARCH_URL
optional: true
- name: WORKER_PLUGIN_KAIROSDB_URL
valueFrom:
configMapKeyRef:
name: zmon-worker-optional-config
key: WORKER_PLUGIN_KAIROSDB_URL
optional: true

- name: OAUTH2_ACCESS_TOKEN_URL
value: https://token.services.auth.zalando.com/oauth2/access_token?realm=/services
- name: CREDENTIALS_DIR
Expand Down

0 comments on commit 2f11dc1

Please sign in to comment.