Skip to content

Commit 9ef16ba

Browse files
authored
Merge pull request #420 from mbaldessari/test-private-common
Add initial support for deploying private repos via CLI directly
2 parents 052467b + 2ae187e commit 9ef16ba

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

operator-install/templates/pattern.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ spec:
1616
{{- if .Values.main.analyticsUUID }}
1717
analyticsUUID: {{ .Values.main.analyticsUUID }}
1818
{{- end }} {{/* if .Values.main.analyticsUUID */}}
19+
{{- if and .Values.main.tokenSecret .Values.main.tokenSecretNamespace }}
20+
tokenSecret: {{ .Values.main.tokenSecret }}
21+
tokenSecretNamespace: {{ .Values.main.tokenSecretNamespace }}
22+
{{- end }} {{/* if and .Values.main.tokenSecret .Values.main.tokenSecretNamespace */}}
1923
{{- if .Values.main.extraParameters }}
2024
extraParameters:
2125
{{- range .Values.main.extraParameters }}

operator-install/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ main:
1818
source: community-operators
1919

2020
clusterGroupName: default
21+
22+
# If you are using a private repository define the secret where
23+
# credentials to access the private repository are
24+
# tokenSecret:
25+
# tokenSecretNamespace:

0 commit comments

Comments
 (0)