Sitelet https://github.com/kubernetes/kops/pull/18465/files
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
version: 9.99.0
- id: k8s-1.16
manifest: networking.cilium.io/k8s-1.16-v1.15.yaml
manifestHash: dd73a7e0bb9dde0f92a8647eb368050717457d6c8edf34112bbfc656db91772f
manifestHash: f290feb45f211058acfff0aeca12edd45be556cdf0e1230c9d088a8e4d1f4352
name: networking.cilium.io
needsRollingUpdate: all
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,9 @@ spec:
name: xtables-lock
- mountPath: /tmp
name: tmp
- mountPath: /etc/hosts
name: etc-hosts
readOnly: true
hostNetwork: true
initContainers:
- command:
Expand Down Expand Up @@ -1049,6 +1052,10 @@ spec:
path: /proc/sys/kernel
type: Directory
name: host-proc-sys-kernel
- hostPath:
path: /etc/hosts
type: File
name: etc-hosts
updateStrategy:
type: OnDelete

Expand Down Expand Up @@ -1168,6 +1175,9 @@ spec:
- mountPath: /tmp/cilium/config-map
name: cilium-config-path
readOnly: true
- mountPath: /etc/hosts
name: etc-hosts
readOnly: true
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
Expand All @@ -1192,3 +1202,7 @@ spec:
- configMap:
name: cilium-config
name: cilium-config-path
- hostPath:
path: /etc/hosts
type: File
name: etc-hosts
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,14 @@ spec:
{{ end }}
- name: tmp
mountPath: /tmp
{{- if GossipEnabled }}
# Gossip clusters update the host's /etc/hosts as control-plane nodes
# are replaced; mount it so the agent sees those updates instead of
# the static copy kubelet makes at container start.
- name: etc-hosts
mountPath: /etc/hosts
readOnly: true
{{- end }}

{{ if .Debug }}
- name: cilium-monitor
Expand Down Expand Up @@ -1925,6 +1933,13 @@ spec:
hostPath:
path: /proc/sys/kernel
type: Directory
{{- if GossipEnabled }}
# To see protokube's updates to the host's /etc/hosts (gossip clusters)
- name: etc-hosts
hostPath:
path: /etc/hosts
type: File
{{- end }}
{{ if WithDefaultBool .Hubble.Enabled false }}
- name: hubble-tls
projected:
Expand Down Expand Up @@ -2058,6 +2073,14 @@ spec:
- name: etcd-secrets
mountPath: /var/lib/etcd-secrets
readOnly: true
{{- end }}
{{- if GossipEnabled }}
# Gossip clusters update the host's /etc/hosts as control-plane nodes
# are replaced; mount it so the operator sees those updates instead of
# the static copy kubelet makes at container start.
- name: etc-hosts
mountPath: /etc/hosts
readOnly: true
{{- end }}
securityContext:
allowPrivilegeEscalation: false
Expand Down Expand Up @@ -2123,6 +2146,13 @@ spec:
path: /etc/kubernetes/pki/cilium
type: Directory
{{- end }}
{{- if GossipEnabled }}
# To see protokube's updates to the host's /etc/hosts (gossip clusters)
- name: etc-hosts
hostPath:
path: /etc/hosts
type: File
{{- end }}
{{ if WithDefaultBool .Hubble.Enabled false }}
---
# Source: cilium/templates/hubble-relay/deployment.yaml
Expand Down
Loading