From 91f704f422d1f8f80c7da0d8cf796f8f990e08b9 Mon Sep 17 00:00:00 2001 From: Lilla Vass Date: Tue, 5 Dec 2023 10:51:32 +0100 Subject: [PATCH] Revert "feat: add nats endpoint to operator (#661)" This reverts commit 613e3d824ebf93a103e5b7ee3cf7f3e5a6b8d4b9. --- charts/testkube-operator/templates/deployment.yaml | 11 ----------- charts/testkube-operator/values.yaml | 9 --------- 2 files changed, 20 deletions(-) diff --git a/charts/testkube-operator/templates/deployment.yaml b/charts/testkube-operator/templates/deployment.yaml index 562fce610..8ae648ba6 100644 --- a/charts/testkube-operator/templates/deployment.yaml +++ b/charts/testkube-operator/templates/deployment.yaml @@ -83,17 +83,6 @@ spec: - name: APISERVER_REGISTRY value: {{ .Values.global.imageRegistry }} {{- end }} - {{- if .Values.nats.enabled }} - - name: NATS_URI - {{- if .Values.nats.secretName }} - valueFrom: - secretKeyRef: - name: {{ .Values.nats.secretName }} - key: {{ .Values.nats.secretKey }} - {{- else }} - value: "nats://{{ .Release.Name }}-nats" - {{- end }} - {{- end }} ports: - containerPort: 9443 name: webhook-server diff --git a/charts/testkube-operator/values.yaml b/charts/testkube-operator/values.yaml index fdedc183b..025b4cc9a 100644 --- a/charts/testkube-operator/values.yaml +++ b/charts/testkube-operator/values.yaml @@ -333,12 +333,3 @@ preUpgrade: operator: Equal value: arm64 effect: NoSchedule - -## NATS parameters -## ref: https://github.com/nats-io/nats-server -nats: - ## Deploy NATS server to the cluster - enabled: true - ## load URI from secrets - # secretName: XXX - # secretKey: XXX \ No newline at end of file