-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Description** <Describe what changed.> This PR fixes the group PSK secret when Cloud is enabled. Note: Refactoring to improve the config when cloud is enabled is forthcoming. **Testing** <Describe how you tested the change.> Locally and remote testing. **Documentation** <Describe any documentation that was added.> N/A
- Loading branch information
Showing
5 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{{- if .Values.orchestrator.groups.primary.psk.createSecret -}} | ||
{{- with .Values.orchestrator.groups.primary.psk -}} | ||
{{- if .createSecret -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "orchestrator.primaryGroupPSKSecretName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
name: {{ include "orchestrator.primaryGroupPSKSecretName" $ }} | ||
namespace: {{ $.Release.Namespace }} | ||
labels: | ||
{{- include "orchestrator.labels" . | nindent 4 }} | ||
{{- include "orchestrator.labels" $ | nindent 4 }} | ||
type: Opaque | ||
data: | ||
psk: {{ .Values.orchestrator.groups.primary.psk.value | b64enc }} | ||
{{- end }} | ||
{{ required "A valid key name for the PSK is required!" .secretKey }}: {{ required "A valid 32-byte PSK is required!" .value | b64enc }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters