mirror of https://github.com/kubernetes/kops.git
Add default tags to LB controller and cilium eni resources
This commit is contained in:
parent
3eacde0212
commit
22f3a4aff8
|
@ -409,7 +409,7 @@ spec:
|
|||
- --endpoint=$(CSI_ENDPOINT)
|
||||
- --logtostderr
|
||||
- --k8s-tag-cluster-id={{ ClusterName }}
|
||||
- --extra-tags={{ CsiExtraTags }}
|
||||
- "--extra-tags={{ CloudLabels }}"
|
||||
- --v=5
|
||||
env:
|
||||
- name: CSI_ENDPOINT
|
||||
|
|
|
@ -801,6 +801,7 @@ spec:
|
|||
- --enable-wafv2=false
|
||||
- --enable-shield=false
|
||||
- --ingress-class=alb
|
||||
- "--default-tags={{ CloudLabels }}"
|
||||
image: amazon/aws-alb-ingress-controller:{{ or .AWSLoadBalancerController.Version "v2.2.0" }}
|
||||
livenessProbe:
|
||||
failureThreshold: 2
|
||||
|
|
|
@ -817,8 +817,9 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- --config-dir=/tmp/cilium/config-map
|
||||
- --debug=$(CILIUM_DEBUG)
|
||||
- "--config-dir=/tmp/cilium/config-map"
|
||||
- "--debug=$(CILIUM_DEBUG)"
|
||||
- "--eni-tags={{ CloudLabels }}"
|
||||
command:
|
||||
- cilium-operator
|
||||
env:
|
||||
|
|
|
@ -838,8 +838,9 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- --config-dir=/tmp/cilium/config-map
|
||||
- --debug=$(CILIUM_DEBUG)
|
||||
- "--config-dir=/tmp/cilium/config-map"
|
||||
- "--debug=$(CILIUM_DEBUG)"
|
||||
- "--eni-tags={{ CloudLabels }}"
|
||||
command:
|
||||
- cilium-operator
|
||||
env:
|
||||
|
|
|
@ -208,7 +208,7 @@ func (tf *TemplateFunctions) AddTo(dest template.FuncMap, secretStore fi.SecretS
|
|||
dest["WeaveSecret"] = func() string { return weavesecretString }
|
||||
}
|
||||
|
||||
dest["CsiExtraTags"] = func() string {
|
||||
dest["CloudLabels"] = func() string {
|
||||
labels := []string{
|
||||
fmt.Sprintf("KubernetesCluster=%s", cluster.ObjectMeta.Name),
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ spec:
|
|||
version: 1.17.0
|
||||
- id: k8s-1.12
|
||||
manifest: networking.cilium.io/k8s-1.12-v1.9.yaml
|
||||
manifestHash: 7de4d6e933cda022172f7e38ecf510c20a89c81a
|
||||
manifestHash: 368ab627c5fb9087ad60df6bf4fe5dc29c017f79
|
||||
name: networking.cilium.io
|
||||
needsRollingUpdate: all
|
||||
selector:
|
||||
|
|
Loading…
Reference in New Issue