From a8af34c5d043bead41435667fad6a4bdc4084734 Mon Sep 17 00:00:00 2001 From: Sarah Roberts Date: Mon, 13 May 2024 12:47:18 -0700 Subject: [PATCH] updated the deployment manifest --- k8s/subscriptions.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/k8s/subscriptions.yml b/k8s/subscriptions.yml index 32da328..53c825b 100644 --- a/k8s/subscriptions.yml +++ b/k8s/subscriptions.yml @@ -48,19 +48,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 - - name: ENV_VAR - value: QMS_NATS_CLUSTER - volumeMounts: - - name: nats-configuration - mountPath: /etc/cyverse/de/env containers: - name: subscriptions image: harbor.cyverse.org/de/subscriptions @@ -72,6 +59,11 @@ spec: secretKeyRef: name: configs key: QMS_DATABASE_URI + - name: QMS_NATS_CLUSTER + valueFrom: + secretKeyRef: + name: configs + key: NATS_URLS - name: QMS_USERNAME_SUFFIX valueFrom: secretKeyRef: