diff --git a/helm/templates/flux-config.yaml b/helm/templates/flux-config.yaml index 953f68129485768dd6867339bb6a9414a58e88dd..53b18784beded144727effa397c3c3130cb95f0b 100644 --- a/helm/templates/flux-config.yaml +++ b/helm/templates/flux-config.yaml @@ -28,4 +28,12 @@ spec: provider: sops secretRef: name: {{ .Values.flux.name }} +--- +apiVersion: v1 +kind: Secret +metadata: + name: {{ .Values.flux.name }} + namespace: {{ .Values.flux.namespace }} +stringData: + age.agekey: {{ .Values.flux.age }} {{- end }} diff --git a/helm/templates/flux.yaml b/helm/templates/flux.yaml index ae5a7fe518dea6b3d8ccd89bae2aaa1c51e09784..8185541b2ad5e0633ba540a87dfa0d1aa820f2e1 100644 --- a/helm/templates/flux.yaml +++ b/helm/templates/flux.yaml @@ -345,13 +345,13 @@ spec: spec: containers: - args: - - --events-addr=http://notification-controller.{{ .Values.flux.namespace }}.svc.cluster.local./ + - --events-addr=http://notification-controller.{{ .Values.flux.namespace }}.svc.{{ .Values.cluster.name }}.local./ - --watch-all-namespaces=true - --log-level=info - --log-encoding=json - --enable-leader-election - --storage-path=/data - - --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local. + - --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.{{ .Values.cluster.name }}.local. env: - name: RUNTIME_NAMESPACE valueFrom: @@ -451,7 +451,7 @@ spec: spec: containers: - args: - - --events-addr=http://notification-controller.{{ .Values.flux.namespace }}.svc.cluster.local./ + - --events-addr=http://notification-controller.{{ .Values.flux.namespace }}.svc.{{ .Values.cluster.name }}.local./ - --watch-all-namespaces=true - --log-level=info - --log-encoding=json @@ -546,7 +546,7 @@ spec: spec: containers: - args: - - --events-addr=http://notification-controller.{{ .Values.flux.namespace }}.svc.cluster.local./ + - --events-addr=http://notification-controller.{{ .Values.flux.namespace }}.svc.{{ .Values.cluster.name }}.local./ - --watch-all-namespaces=true - --log-level=info - --log-encoding=json diff --git a/helm/values.yaml b/helm/values.yaml index 6de306ad4bb029e1e084e4a0e8cc4810fa3584b8..985a22c63513572cfdb27e75d2cdc6db3eb7e55a 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -53,9 +53,7 @@ flux: namespace: kube-ops image: repository: registry.ipv6.docker.com - age: - public: agepublickey - private: agesecretkey + age: agesecretkey source: url: https://path.to.git.repo branch: main