Merge pull request #8731 from olemarkus/cilium-remote-node-identity

Allow configuration of enable-remote-node-identity
This commit is contained in:
Kubernetes Prow Robot 2020-03-19 06:09:23 -07:00 committed by GitHub
commit c5870ddf17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 23 additions and 4 deletions

View File

@ -2730,6 +2730,10 @@ spec:
description: EnablePrometheusMetrics enables the Cilium "/metrics"
endpoint for both the agent and the operator.
type: boolean
enableRemoteNodeIdentity:
description: 'EnableRemoteNodeIdentity enables the remote-node-identity
added in Cilium 1.7.0. Default: false'
type: boolean
enableTracing:
description: EnableTracing is not implemented and may be removed
in the future. Setting this has no effect.
@ -2938,6 +2942,7 @@ spec:
- clusterName
- cniBinPath
- enableNodePort
- enableRemoteNodeIdentity
- enableipv4
- enableipv6
- monitorAggregation

View File

@ -406,6 +406,9 @@ type CiliumNetworkingSpec struct {
// The cluster is operated by cilium-etcd-operator.
// Default: false
EtcdManaged bool `json:"etcdManaged,omitempty"`
// EnableRemoteNodeIdentity enables the remote-node-identity added in Cilium 1.7.0.
// Default: false
EnableRemoteNodeIdentity bool `json:"enableRemoteNodeIdentity"`
// RemoveCbrBridge is not implemented and may be removed in the future.
// Setting this has no effect.

View File

@ -404,6 +404,9 @@ type CiliumNetworkingSpec struct {
// The cluster is operated by cilium-etcd-operator.
// Default: false
EtcdManaged bool `json:"etcdManaged,omitempty"`
// EnableRemoteNodeIdentity enables the remote-node-identity added in Cilium 1.7.0.
// Default: false
EnableRemoteNodeIdentity bool `json:"enableRemoteNodeIdentity"`
// RemoveCbrBridge is not implemented and may be removed in the future.
// Setting this has no effect.

View File

@ -1335,6 +1335,7 @@ func autoConvert_v1alpha1_CiliumNetworkingSpec_To_kops_CiliumNetworkingSpec(in *
out.AutoDirectNodeRoutes = in.AutoDirectNodeRoutes
out.EnableNodePort = in.EnableNodePort
out.EtcdManaged = in.EtcdManaged
out.EnableRemoteNodeIdentity = in.EnableRemoteNodeIdentity
out.RemoveCbrBridge = in.RemoveCbrBridge
out.RestartPods = in.RestartPods
out.ReconfigureKubelet = in.ReconfigureKubelet
@ -1415,6 +1416,7 @@ func autoConvert_kops_CiliumNetworkingSpec_To_v1alpha1_CiliumNetworkingSpec(in *
out.AutoDirectNodeRoutes = in.AutoDirectNodeRoutes
out.EnableNodePort = in.EnableNodePort
out.EtcdManaged = in.EtcdManaged
out.EnableRemoteNodeIdentity = in.EnableRemoteNodeIdentity
out.RemoveCbrBridge = in.RemoveCbrBridge
out.RestartPods = in.RestartPods
out.ReconfigureKubelet = in.ReconfigureKubelet

View File

@ -404,6 +404,9 @@ type CiliumNetworkingSpec struct {
// The cluster is operated by cilium-etcd-operator.
// Default: false
EtcdManaged bool `json:"etcdManaged,omitempty"`
// EnableRemoteNodeIdentity enables the remote-node-identity added in Cilium 1.7.0.
// Default: false
EnableRemoteNodeIdentity bool `json:"enableRemoteNodeIdentity"`
// RemoveCbrBridge is not implemented and may be removed in the future.
// Setting this has no effect.

View File

@ -1377,6 +1377,7 @@ func autoConvert_v1alpha2_CiliumNetworkingSpec_To_kops_CiliumNetworkingSpec(in *
out.AutoDirectNodeRoutes = in.AutoDirectNodeRoutes
out.EnableNodePort = in.EnableNodePort
out.EtcdManaged = in.EtcdManaged
out.EnableRemoteNodeIdentity = in.EnableRemoteNodeIdentity
out.RemoveCbrBridge = in.RemoveCbrBridge
out.RestartPods = in.RestartPods
out.ReconfigureKubelet = in.ReconfigureKubelet
@ -1457,6 +1458,7 @@ func autoConvert_kops_CiliumNetworkingSpec_To_v1alpha2_CiliumNetworkingSpec(in *
out.AutoDirectNodeRoutes = in.AutoDirectNodeRoutes
out.EnableNodePort = in.EnableNodePort
out.EtcdManaged = in.EtcdManaged
out.EnableRemoteNodeIdentity = in.EnableRemoteNodeIdentity
out.RemoveCbrBridge = in.RemoveCbrBridge
out.RestartPods = in.RestartPods
out.ReconfigureKubelet = in.ReconfigureKubelet

View File

@ -137,6 +137,7 @@ data:
auto-direct-node-routes: "{{- if .AutoDirectNodeRoutes -}}true{{- else -}}false{{- end -}}"
enable-node-port: "{{- if .EnableNodePort -}}true{{- else -}}false{{- end -}}"
kube-proxy-replacement: "{{- if .EnableNodePort -}}strict{{- else -}}partial{{- end -}}"
enable-remote-node-identity: "{{- if .EnableRemoteNodeIdentity -}}true{{- else -}}false{{- end -}}"
{{ with .Ipam }}
ipam: {{ . }}
{{ if eq . "eni" }}

View File

@ -951,7 +951,7 @@ func (b *BootstrapChannelBuilder) buildAddons() *channelsapi.Addons {
if b.cluster.Spec.Networking.Cilium != nil {
key := "networking.cilium.io"
version := "1.7.0-kops.2"
version := "1.7.1-kops.1"
{
id := "k8s-1.7"

View File

@ -93,12 +93,12 @@ spec:
name: networking.cilium.io
selector:
role.kubernetes.io/networking: "1"
version: 1.7.0-kops.2
version: 1.7.1-kops.1
- id: k8s-1.12
kubernetesVersion: '>=1.12.0'
manifest: networking.cilium.io/k8s-1.12.yaml
manifestHash: e70d13053043ca311108cd90521f30d75c558cc7
manifestHash: a897a4b5d8f69f704c33c90487016f87b3737ffd
name: networking.cilium.io
selector:
role.kubernetes.io/networking: "1"
version: 1.7.0-kops.2
version: 1.7.1-kops.1