mirror of https://github.com/kubernetes/kops.git
Mount the whole /etc/ssl/certs directory for k8s-ec2-srcdst (#10169)
* Fix: Mount the whole `/etc/ssl/certs` directory for k8s-ec2-srcdst deployment. Signed-off-by: Marcos Soutullo Rodriguez <marcos.soutullo@vodafone.com> * Fix: Retrospective change to mount all CA certificates in <k8s-1.16 * Apply suggestions from code review Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
This commit is contained in:
parent
8043a5e799
commit
9d6479fbba
|
@ -6655,13 +6655,14 @@ spec:
|
|||
value: {{ Region }}
|
||||
volumeMounts:
|
||||
- name: ssl-certs
|
||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
||||
mountPath: "/etc/ssl/certs"
|
||||
readOnly: true
|
||||
imagePullPolicy: "Always"
|
||||
volumes:
|
||||
- name: ssl-certs
|
||||
hostPath:
|
||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
||||
path: "/etc/ssl/certs"
|
||||
type: Directory
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/master: ""
|
||||
{{- end -}}
|
||||
|
@ -10899,13 +10900,14 @@ spec:
|
|||
value: {{ Region }}
|
||||
volumeMounts:
|
||||
- name: ssl-certs
|
||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
||||
mountPath: "/etc/ssl/certs"
|
||||
readOnly: true
|
||||
imagePullPolicy: "Always"
|
||||
volumes:
|
||||
- name: ssl-certs
|
||||
hostPath:
|
||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
||||
path: "/etc/ssl/certs"
|
||||
type: Directory
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/master: ""
|
||||
{{ end -}}
|
||||
|
|
|
@ -1079,13 +1079,14 @@ spec:
|
|||
value: {{ Region }}
|
||||
volumeMounts:
|
||||
- name: ssl-certs
|
||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
||||
mountPath: "/etc/ssl/certs"
|
||||
readOnly: true
|
||||
imagePullPolicy: "Always"
|
||||
volumes:
|
||||
- name: ssl-certs
|
||||
hostPath:
|
||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
||||
path: "/etc/ssl/certs"
|
||||
type: Directory
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/master: ""
|
||||
{{- end -}}
|
||||
|
|
|
@ -4215,13 +4215,14 @@ spec:
|
|||
value: {{ Region }}
|
||||
volumeMounts:
|
||||
- name: ssl-certs
|
||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
||||
mountPath: "/etc/ssl/certs"
|
||||
readOnly: true
|
||||
imagePullPolicy: "Always"
|
||||
volumes:
|
||||
- name: ssl-certs
|
||||
hostPath:
|
||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
||||
path: "/etc/ssl/certs"
|
||||
type: Directory
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/master: ""
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in New Issue