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 }}
|
value: {{ Region }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
mountPath: "/etc/ssl/certs"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
path: "/etc/ssl/certs"
|
||||||
|
type: Directory
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/master: ""
|
node-role.kubernetes.io/master: ""
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
@ -10899,13 +10900,14 @@ spec:
|
||||||
value: {{ Region }}
|
value: {{ Region }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
mountPath: "/etc/ssl/certs"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
path: "/etc/ssl/certs"
|
||||||
|
type: Directory
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/master: ""
|
node-role.kubernetes.io/master: ""
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
|
||||||
|
|
@ -1079,13 +1079,14 @@ spec:
|
||||||
value: {{ Region }}
|
value: {{ Region }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
mountPath: "/etc/ssl/certs"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
path: "/etc/ssl/certs"
|
||||||
|
type: Directory
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/master: ""
|
node-role.kubernetes.io/master: ""
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
||||||
|
|
@ -4215,13 +4215,14 @@ spec:
|
||||||
value: {{ Region }}
|
value: {{ Region }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
mountPath: "/etc/ssl/certs"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/etc/ssl/certs/ca-certificates.crt"
|
path: "/etc/ssl/certs"
|
||||||
|
type: Directory
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/master: ""
|
node-role.kubernetes.io/master: ""
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue