File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 3131 - --enable-leader-election={{ .Values.enableLeaderElection }}
3232 - --apiexport-ref=$(APIEXPORT_REF)
3333 - --agent-name=$(AGENT_NAME)
34- - --platform -kubeconfig=/etc/api-syncagent/platform /kubeconfig
34+ - --kcp -kubeconfig=/etc/api-syncagent/kcp /kubeconfig
3535 {{- with .Values.kubeconfig }}
3636 - --kubeconfig=/etc/api-syncagent/cluster/kubeconfig
3737 {{- end }}
5656 drop :
5757 - ALL
5858 volumeMounts :
59- - name : platform -kubeconfig
60- mountPath : /etc/api-syncagent/platform
59+ - name : kcp -kubeconfig
60+ mountPath : /etc/api-syncagent/kcp
6161 {{- with .Values.kubeconfig }}
6262 - name : cluster-kubeconfig
6363 mountPath : /etc/api-syncagent/cluster
@@ -69,12 +69,11 @@ spec:
6969 type : RuntimeDefault
7070 serviceAccountName : ' {{ template "name" . }}'
7171 volumes :
72- - name : platform -kubeconfig
72+ - name : kcp -kubeconfig
7373 secret :
74- secretName : ' {{ required "Kubernetes Secret for the platform kubeconfig must be configured" .Values.platformKubeconfig }}'
74+ secretName : ' {{ required "Kubernetes Secret for the kcp kubeconfig must be configured" .Values.kcpKubeconfig }}'
7575 {{- with .Values.kubeconfig }}
7676 - name : cluster-kubeconfig
7777 secret :
7878 secretName : " {{ . }}"
7979 {{- end }}
80-
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ agentName: ""
77
88# Required: Name of the Kubernetes Secret that contains a "kubeconfig" key,
99# with the kubeconfig provided by kcp to access it.
10- platformKubeconfig : " "
10+ kcpKubeconfig : " "
1111
1212# Optional: Name of a Kubernetes Secret that contains a "kubeconfig" key,
1313# with a kubeconfig to access the service cluster (in case the agent is
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ for dir in ./charts/*/; do
2222 --debug \
2323 --set=externalHostname=ci.kcp.io \
2424 --set=apiExportName=my-api \
25- --set=platformKubeconfig =kcp-kubeconfig \
25+ --set=kcpKubeconfig =kcp-kubeconfig \
2626 kcp ./charts/${chart} / | tee ${chart} -templated.yaml
2727
2828 echo " ---"
You can’t perform that action at this time.
0 commit comments