mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Add ssl certs to federation-controller-manager container.
Fixes #27684. For now, I'm simply poking a hole to grab the system /etc/ssl/certs. If we decide we want something less dependent on the node filesystem, we will need to decide how we pick a "distro" more sophisticated than busybox for federation components running on k8s. I'll open a followup issue to discuss this.
This commit is contained in:
parent
f32d23ad73
commit
3733f64935
@ -13,8 +13,16 @@ spec:
|
|||||||
app: federated-cluster
|
app: federated-cluster
|
||||||
module: federation-controller-manager
|
module: federation-controller-manager
|
||||||
spec:
|
spec:
|
||||||
|
volumes:
|
||||||
|
- name: ssl-certs
|
||||||
|
hostPath:
|
||||||
|
path: /etc/ssl/certs
|
||||||
containers:
|
containers:
|
||||||
- name: controller-manager
|
- name: controller-manager
|
||||||
|
volumeMounts:
|
||||||
|
- name: ssl-certs
|
||||||
|
readOnly: true
|
||||||
|
mountPath: /etc/ssl/certs
|
||||||
image: {{.FEDERATION_CONTROLLER_MANAGER_IMAGE_REPO}}:{{.FEDERATION_CONTROLLER_MANAGER_IMAGE_TAG}}
|
image: {{.FEDERATION_CONTROLLER_MANAGER_IMAGE_REPO}}:{{.FEDERATION_CONTROLLER_MANAGER_IMAGE_TAG}}
|
||||||
command:
|
command:
|
||||||
- /usr/local/bin/federation-controller-manager
|
- /usr/local/bin/federation-controller-manager
|
||||||
|
Loading…
Reference in New Issue
Block a user