WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f7005ed

Browse files
committed
Simplify variables
1 parent 93085a2 commit f7005ed

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

common/infisical-secret/templates/secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: secrets.infisical.com/v1alpha1
33
kind: InfisicalSecret
44
metadata:
55
name: {{ .Values.name }}
6-
namespace: {{ .Values.targetNamespace }}
6+
namespace: {{ .Release.Namespace }}
77
spec:
88
authentication:
99
universalAuth:
@@ -16,6 +16,6 @@ spec:
1616
secretsPath: {{ coalesce .Values.overrideSecretPath (printf "/%s" .Values.name) }}
1717
managedSecretReference:
1818
secretName: {{ .Values.name }}
19-
secretNamespace: {{ .Values.targetNamespace }}
19+
secretNamespace: {{ .Release.Namespace }}
2020
creationPolicy: "Owner"
2121
{{- end }}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
name: null # Define your own!
22
overrideSecretPath: null # Optional, if name != secretPath
3-
targetNamespace: faf-apps
43
secretNamespace: faf-ops

0 commit comments

Comments
 (0)