2 Commits
0.1.0 ... 1.0.2

Author SHA1 Message Date
2c918f8fd4 Fix ingress, extsec
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 3s
2024-01-14 17:48:45 +00:00
e0926979c1 Fixed secret generation
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-01-14 17:33:04 +00:00
4 changed files with 8 additions and 7 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/test.yaml
/test_*.yaml

View File

@@ -1,7 +1,7 @@
{{- if and .Values.externalSecrets }} {{- if and .Values.externalSecrets }}
{{- range .Values.externalSecrets }} {{- range .Values.externalSecrets }}
--- ---
apiVersion: v1 apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
name: {{ include "..fullname" $ }}-{{ .name }} name: {{ include "..fullname" $ }}-{{ .name }}

View File

@@ -24,10 +24,10 @@ spec:
http: http:
paths: paths:
- backend: - backend:
service: service:
name: {{ include "..fullname" $ }} name: {{ include "..fullname" $ }}
port: port:
number: 8123 number: 8123
path: / path: /
pathType: Prefix pathType: Prefix
{{- end }} {{- end }}

View File

@@ -14,8 +14,7 @@ metadata:
{{- include "..labels" $ | nindent 4 }} {{- include "..labels" $ | nindent 4 }}
data: data:
{{- range $item := $sec.values }} {{- range $item := $sec.values }}
- name: {{ $item.name }} {{ $item.name }}: {{ $item.value | b64enc | quote }}
value: {{ $item.value | b64enc | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}