Skip to content

Commit

Permalink
Update the NATS configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wregglesworth committed May 23, 2024
1 parent 59a68ec commit ed0d15d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions k8s/resource-usage-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,6 @@ spec:
secretName: nats-services-creds
- name: nats-configuration
emptyDir: {}
initContainers:
- name: nats-configurator
image: harbor.cyverse.org/de/nats-configurator
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- name: nats-configuration
mountPath: /etc/cyverse/de/env
containers:
- name: resource-usage-api
image: harbor.cyverse.org/de/resource-usage-api
Expand All @@ -83,6 +72,11 @@ spec:
secretKeyRef:
name: configs
key: OTEL_EXPORTER_JAEGER_HTTP_ENDPOINT
- name: DISCOENV_NATS_CLUSTER
valueFrom:
secretKeyRef:
name: configs
key: NATS_URLS
args:
- --log-level
- debug
Expand Down

0 comments on commit ed0d15d

Please sign in to comment.