mirror of https://github.com/kubernetes/kops.git
Support Cilium operator pod annotations
This commit is contained in:
parent
40072c13e7
commit
99ff00df61
|
@ -391,6 +391,9 @@ type CiliumNetworkingSpec struct {
|
|||
// AgentPodAnnotations makes possible to add additional annotations to cilium agent.
|
||||
// Default: none
|
||||
AgentPodAnnotations map[string]string `json:"agentPodAnnotations,omitempty"`
|
||||
// OperatorPodAnnotations makes possible to add additional annotations to cilium operator.
|
||||
// Default: none
|
||||
OperatorPodAnnotations map[string]string `json:"operatorPodAnnotations,omitempty"`
|
||||
// Tunnel specifies the Cilium tunnelling mode. Possible values are "vxlan", "geneve", or "disabled".
|
||||
// Default: vxlan
|
||||
Tunnel string `json:"tunnel,omitempty"`
|
||||
|
|
|
@ -464,6 +464,9 @@ type CiliumNetworkingSpec struct {
|
|||
// AgentPodAnnotations makes possible to add additional annotations to the cilium agent.
|
||||
// Default: none
|
||||
AgentPodAnnotations map[string]string `json:"agentPodAnnotations,omitempty"`
|
||||
// OperatorPodAnnotations makes possible to add additional annotations to cilium operator.
|
||||
// Default: none
|
||||
OperatorPodAnnotations map[string]string `json:"operatorPodAnnotations,omitempty"`
|
||||
// Pprof is unused.
|
||||
// +k8s:conversion-gen=false
|
||||
Pprof bool `json:"pprof,omitempty"`
|
||||
|
|
|
@ -354,6 +354,9 @@ type CiliumNetworkingSpec struct {
|
|||
// AgentPodAnnotations makes possible to add additional annotations to the cilium agent.
|
||||
// Default: none
|
||||
AgentPodAnnotations map[string]string `json:"agentPodAnnotations,omitempty"`
|
||||
// OperatorPodAnnotations makes possible to add additional annotations to cilium operator.
|
||||
// Default: none
|
||||
OperatorPodAnnotations map[string]string `json:"operatorPodAnnotations,omitempty"`
|
||||
// Tunnel specifies the Cilium tunnelling mode. Possible values are "vxlan", "geneve", or "disabled".
|
||||
// Default: vxlan
|
||||
Tunnel string `json:"tunnel,omitempty"`
|
||||
|
|
|
@ -30,6 +30,10 @@ spec:
|
|||
test1: "true"
|
||||
test2: "123"
|
||||
test3: awesome
|
||||
operatorPodAnnotations:
|
||||
test1: "true"
|
||||
test2: "123"
|
||||
test3: cilium-operator
|
||||
nonMasqueradeCIDR: 100.64.0.0/10
|
||||
sshAccess:
|
||||
- 0.0.0.0/0
|
||||
|
|
|
@ -964,6 +964,10 @@ spec:
|
|||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
{{- range $key, $value := .OperatorPodAnnotations }}
|
||||
{{ $key }}: "{{ $value }}"
|
||||
{{- end }}
|
||||
labels:
|
||||
io.cilium/app: operator
|
||||
name: cilium-operator
|
||||
|
|
Loading…
Reference in New Issue