Skip to content

Commit 875d02b

Browse files
committed
follow kcp-dev/api-syncagent#8, rename platform to kcp
On-behalf-of: @SAP [email protected]
1 parent 2aeb116 commit 875d02b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

charts/api-syncagent/templates/deployment.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
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 }}
@@ -56,8 +56,8 @@ spec:
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-

charts/api-syncagent/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)