File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 4444 {{- with .Values.publishedResourceSelector }}
4545 - " --published-resource-selector={{ . }}"
4646 {{- end }}
47+ {{- range .Values.extraFlags }}
48+ - {{ . | quote }}
49+ {{- end }}
4750 env :
4851 - name : POD_NAMESPACE
4952 valueFrom :
6871 - name : cluster-kubeconfig
6972 mountPath : /etc/api-syncagent/cluster
7073 {{- end }}
74+ {{- if .Values.extraVolumeMounts }}
75+ {{ toYaml .Values.extraVolumeMounts | indent 12 }}
76+ {{- end }}
7177 securityContext :
7278 runAsNonRoot : true
7379 runAsUser : 65534
8389 secret :
8490 secretName : " {{ . }}"
8591 {{- end }}
92+ {{- if .Values.extraVolumes }}
93+ {{ toYaml .Values.extraVolumes | indent 8 }}
94+ {{- end }}
95+
Original file line number Diff line number Diff line change @@ -47,3 +47,17 @@ resources:
4747crds :
4848 # Whether to install the PublishedResource CRD.
4949 enabled : true
50+
51+ # Optional: Pass additional flags to the kcp-api-syncagent process started by the container.
52+ extraFlags : []
53+
54+ # Optional: Configure additional volumes to be added to the syncagent Pod.
55+ extraVolumes : []
56+ # - name: extra-secret
57+ # secret:
58+ # secretName: extra-secret
59+
60+ # Optional: Configure additional volume mounts to be added to the agent container.
61+ extraVolumeMounts : []
62+ # - name: extra-secret
63+ # mountPath: /etc/test
You can’t perform that action at this time.
0 commit comments