Skip to content

Commit

Permalink
Prefix oauth2 client secret name with helm release name
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jul 18, 2024
1 parent 1709326 commit 31c78e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions charts/graph/templates/oauth2-client-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: oauth2-client
annotations:
sealedsecrets.bitnami.com/namespace-wide: "true"
name: "{{ .Release.Name }}-oauth2-client"
namespace: graph
spec:
encryptedData:
secret: AgCC4dhJKFpNi4zBFd/29g/YalIXn1GER4wwg9JAaJNJCECQcYGolFrjuA2BXJO3v1KQCvXKr+EuR1JH0sDKaOHbhbJQ/kDeCwqqfK2+oMcf1p5lb/x1fZTnj9HOpNLq3Mjisukn6TA3N1OwTPdLxGLajh9R8Dx4WySKIe/Th4vRth72i3bnIIi3QJnCt5jMKQ6Rls8ENUTZN5uMVliEdt+Cesjo9ZJ435bgJAr8qUK9NBleJ6Qep1Ufx2ptlaqNy+fTpeeusujiegfNzP14jLwh/s0+r5KYXqvIamBsVEsxwx+HReqvCm5uYocKgtgXUU1N/pDCMu7Kz/3TWtKj1HF/0gsUnR8YvQUMmg8p8kDZ/6sfL498q+pIUUoccZkZVQR9hiUPI9n0XXvVA3PDslhpOUMwmEEE05WRKgW1g5c9D9OveV7FExpqyHhFdogpT5QvQ0baY9pjB8EO/6Oqz80gUAw5RNB75KBf744T1gZMDMzIJjIMs6pQlMQXQvLGKGA/JCs910kfMPC1jPtFDJOXnLvQBpPzn4KsVDNmIBFN/ogDbpNVeiptDe9azKKtyBWkycJ3DPIOBoc1AXWaAM199UXr8EOd3ihAH7Rs0Gzsbp2/6FzDef40I0eKDaFI7Po361+pUJkRd8xsHlOEFsBGLw1z6LfPxAA+mKhMV/LI39uiFK/yHmpRlFege2TA/vQa9UNhKF7s9j0VTIJnt06a8HK0EwTS3LO4RLcGDF+8bw==
template:
type: Opaque
metadata:
creationTimestamp: null
name: oauth2-client
annotations:
sealedsecrets.bitnami.com/namespace-wide: "true"
name: "{{ .Release.Name }}-oauth2-client"
namespace: graph

encryptedData:
secret: AgBm/HFZ+1zmTRLltG4bUk4/SCKb5YFlAswVrPChZzUF395p/wgkhpniLMoJAIpcpYNL6antxz/168S185TrVuu2NOZGXaf+4VH8Cn6JzDjaj3P86D9pYKyLePIWoAnIYP1bsyeh6RVg30yluXIGN/4dlhZPnpP5idr3iITYwnk04NwWsdLT9SItit+jxS7Uu7cfF77+WMbvYT5OKcMf1vNqHNcZXfL7gHG0NNPqBfiFqcbcf71I9zPxEK6JiRLIYHQNMVasYd4ml1ZayQxjjNOjOg262DFGcFKLC7NIPWOlpIhtMEQfCl7nH28pufdcIFTDrxvxpyj9EGJRqKnsgeIsI2H68UXXWCcjGcLZX09Hd80ejMwj093/TAnYngaLFIQclpym3Um8XKiLj0/4W+KkHj4CVjnJEou3ikbF3Kn7XewAE8xzyHrbPJEn6cWBC45tpZsO9B3Iy65LKB3RJC/qI6k9FUnZ1EwY/AZU65S1TzE2gzzAeMuXD8OlWyxxH+lsFWrLu1xfm2FtzQc4Zlbk214OHUIE1LSQ6odp/Pbd4T1OeizZU5ot7XvCylBbMECQ7JRT+prFwQIexpwbZ31VREYoFr/j8v5OngD1sT/pk6jCp9TqAGVl59QkPZpiXW31KPn4ojXOr+tvabVkod/pe21zgdtvj0dRyS9MIFexia0HIMPq0tnQPaE5yJY2UHezZA/1fVToC3PQytG0Zqj/JrfZyzhgOMAqDPMmUvF8bA==
2 changes: 1 addition & 1 deletion charts/graph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ oauth2-proxy:
extraVolumes:
- name: client-secret
secret:
secretName: oauth2-client
secretName: "{{ .Release.Name }}-oauth2-client
items:
- key: secret
path: client-secret
Expand Down

0 comments on commit 31c78e8

Please sign in to comment.