From 2c918f8fd42529dcff7f8d49945de2305c886eac Mon Sep 17 00:00:00 2001 From: Lars Scheibling Date: Sun, 14 Jan 2024 17:48:45 +0000 Subject: [PATCH] Fix ingress, extsec --- .gitignore | 2 ++ Chart/templates/externalsecret.yaml | 2 +- Chart/templates/ingress.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d4d010 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/test.yaml +/test_*.yaml \ No newline at end of file diff --git a/Chart/templates/externalsecret.yaml b/Chart/templates/externalsecret.yaml index f897dce..53a851a 100644 --- a/Chart/templates/externalsecret.yaml +++ b/Chart/templates/externalsecret.yaml @@ -1,7 +1,7 @@ {{- if and .Values.externalSecrets }} {{- range .Values.externalSecrets }} --- -apiVersion: v1 +apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: {{ include "..fullname" $ }}-{{ .name }} diff --git a/Chart/templates/ingress.yaml b/Chart/templates/ingress.yaml index 65e9882..a3f8913 100644 --- a/Chart/templates/ingress.yaml +++ b/Chart/templates/ingress.yaml @@ -24,10 +24,10 @@ spec: http: paths: - backend: - service: - name: {{ include "..fullname" $ }} - port: - number: 8123 + service: + name: {{ include "..fullname" $ }} + port: + number: 8123 path: / pathType: Prefix {{- end }}