@@ -14,7 +14,7 @@ metadata:
1414 namespace : elastic-system
1515 labels :
1616 control-plane : elastic-operator
17- app.kubernetes.io/version : " 2.4.0 "
17+ app.kubernetes.io/version : " 2.6.1 "
1818---
1919# Source: eck-operator/templates/webhook.yaml
2020apiVersion : v1
@@ -24,7 +24,7 @@ metadata:
2424 namespace : elastic-system
2525 labels :
2626 control-plane : elastic-operator
27- app.kubernetes.io/version : " 2.4.0 "
27+ app.kubernetes.io/version : " 2.6.1 "
2828---
2929# Source: eck-operator/templates/configmap.yaml
3030apiVersion : v1
@@ -34,27 +34,9 @@ metadata:
3434 namespace : elastic-system
3535 labels :
3636 control-plane : elastic-operator
37- app.kubernetes.io/version : " 2.4.0 "
37+ app.kubernetes.io/version : " 2.6.1 "
3838data :
39- eck.yaml : |-
40- log-verbosity: 0
41- metrics-port: 0
42- container-registry: docker.elastic.co
43- max-concurrent-reconciles: 3
44- ca-cert-validity: 8760h
45- ca-cert-rotate-before: 24h
46- cert-validity: 8760h
47- cert-rotate-before: 24h
48- exposed-node-labels: [topology.kubernetes.io/.*,failure-domain.beta.kubernetes.io/.*]
49- set-default-security-context: auto-detect
50- kube-client-timeout: 60s
51- elasticsearch-client-timeout: 180s
52- disable-telemetry: false
53- distribution-channel: all-in-one
54- validate-storage-class: true
55- enable-webhook: true
56- webhook-name: elastic-webhook.k8s.elastic.co
57- enable-leader-election: true
39+ eck.yaml : " log-verbosity: 0\n metrics-port: 0\n container-registry: docker.elastic.co\n container-suffix: \n max-concurrent-reconciles: 3\n ca-cert-validity: 8760h\n ca-cert-rotate-before: 24h\n cert-validity: 8760h\n cert-rotate-before: 24h\n exposed-node-labels: [topology.kubernetes.io/.*,failure-domain.beta.kubernetes.io/.*]\n set-default-security-context: auto-detect\n kube-client-timeout: 60s\n elasticsearch-client-timeout: 180s\n disable-telemetry: false\n distribution-channel: all-in-one\n validate-storage-class: true\n enable-webhook: true\n webhook-name: elastic-webhook.k8s.elastic.co\n enable-leader-election: true\n elasticsearch-observation-interval: 10s"
5840---
5941# Source: eck-operator/templates/cluster-roles.yaml
6042apiVersion : rbac.authorization.k8s.io/v1
@@ -63,7 +45,7 @@ metadata:
6345 name : elastic-operator
6446 labels :
6547 control-plane : elastic-operator
66- app.kubernetes.io/version : " 2.4.0 "
48+ app.kubernetes.io/version : " 2.6.1 "
6749rules :
6850- apiGroups :
6951 - " authorization.k8s.io"
@@ -151,6 +133,19 @@ rules:
151133 - create
152134 - update
153135 - patch
136+ - apiGroups :
137+ - autoscaling.k8s.elastic.co
138+ resources :
139+ - elasticsearchautoscalers
140+ - elasticsearchautoscalers/status
141+ - elasticsearchautoscalers/finalizers # needed for ownerReferences with blockOwnerDeletion on OCP
142+ verbs :
143+ - get
144+ - list
145+ - watch
146+ - create
147+ - update
148+ - patch
154149- apiGroups :
155150 - kibana.k8s.elastic.co
156151 resources :
@@ -229,6 +224,19 @@ rules:
229224 - create
230225 - update
231226 - patch
227+ - apiGroups :
228+ - stackconfigpolicy.k8s.elastic.co
229+ resources :
230+ - stackconfigpolicies
231+ - stackconfigpolicies/status
232+ - stackconfigpolicies/finalizers # needed for ownerReferences with blockOwnerDeletion on OCP
233+ verbs :
234+ - get
235+ - list
236+ - watch
237+ - create
238+ - update
239+ - patch
232240- apiGroups :
233241 - storage.k8s.io
234242 resources :
@@ -268,11 +276,14 @@ metadata:
268276 rbac.authorization.k8s.io/aggregate-to-edit : " true"
269277 rbac.authorization.k8s.io/aggregate-to-admin : " true"
270278 control-plane : elastic-operator
271- app.kubernetes.io/version : " 2.4.0 "
279+ app.kubernetes.io/version : " 2.6.1 "
272280rules :
273281- apiGroups : ["elasticsearch.k8s.elastic.co"]
274282 resources : ["elasticsearches"]
275283 verbs : ["get", "list", "watch"]
284+ - apiGroups : ["autoscaling.k8s.elastic.co"]
285+ resources : ["elasticsearchautoscalers"]
286+ verbs : ["get", "list", "watch"]
276287- apiGroups : ["apm.k8s.elastic.co"]
277288 resources : ["apmservers"]
278289 verbs : ["get", "list", "watch"]
@@ -291,6 +302,9 @@ rules:
291302- apiGroups : ["maps.k8s.elastic.co"]
292303 resources : ["elasticmapsservers"]
293304 verbs : ["get", "list", "watch"]
305+ - apiGroups : ["stackconfigpolicy.k8s.elastic.co"]
306+ resources : ["stackconfigpolicies"]
307+ verbs : ["get", "list", "watch"]
294308---
295309# Source: eck-operator/templates/cluster-roles.yaml
296310apiVersion : rbac.authorization.k8s.io/v1
@@ -301,11 +315,14 @@ metadata:
301315 rbac.authorization.k8s.io/aggregate-to-edit : " true"
302316 rbac.authorization.k8s.io/aggregate-to-admin : " true"
303317 control-plane : elastic-operator
304- app.kubernetes.io/version : " 2.4.0 "
318+ app.kubernetes.io/version : " 2.6.1 "
305319rules :
306320- apiGroups : ["elasticsearch.k8s.elastic.co"]
307321 resources : ["elasticsearches"]
308322 verbs : ["create", "delete", "deletecollection", "patch", "update"]
323+ - apiGroups : ["autoscaling.k8s.elastic.co"]
324+ resources : ["elasticsearchautoscalers"]
325+ verbs : ["create", "delete", "deletecollection", "patch", "update"]
309326- apiGroups : ["apm.k8s.elastic.co"]
310327 resources : ["apmservers"]
311328 verbs : ["create", "delete", "deletecollection", "patch", "update"]
@@ -324,6 +341,9 @@ rules:
324341- apiGroups : ["maps.k8s.elastic.co"]
325342 resources : ["elasticmapsservers"]
326343 verbs : ["create", "delete", "deletecollection", "patch", "update"]
344+ - apiGroups : ["stackconfigpolicy.k8s.elastic.co"]
345+ resources : ["stackconfigpolicies"]
346+ verbs : ["create", "delete", "deletecollection", "patch", "update"]
327347---
328348# Source: eck-operator/templates/role-bindings.yaml
329349apiVersion : rbac.authorization.k8s.io/v1
@@ -332,7 +352,7 @@ metadata:
332352 name : elastic-operator
333353 labels :
334354 control-plane : elastic-operator
335- app.kubernetes.io/version : " 2.4.0 "
355+ app.kubernetes.io/version : " 2.6.1 "
336356roleRef :
337357 apiGroup : rbac.authorization.k8s.io
338358 kind : ClusterRole
@@ -350,7 +370,7 @@ metadata:
350370 namespace : elastic-system
351371 labels :
352372 control-plane : elastic-operator
353- app.kubernetes.io/version : " 2.4.0 "
373+ app.kubernetes.io/version : " 2.6.1 "
354374spec :
355375 ports :
356376 - name : https
@@ -367,7 +387,7 @@ metadata:
367387 namespace : elastic-system
368388 labels :
369389 control-plane : elastic-operator
370- app.kubernetes.io/version : " 2.4.0 "
390+ app.kubernetes.io/version : " 2.6.1 "
371391spec :
372392 selector :
373393 matchLabels :
@@ -380,7 +400,7 @@ spec:
380400 # Rename the fields "error" to "error.message" and "source" to "event.source"
381401 # This is to avoid a conflict with the ECS "error" and "source" documents.
382402 " co.elastic.logs/raw " : " [{\" type\" :\" container\" ,\" json.keys_under_root\" :true,\" paths\" :[\" /var/log/containers/*${data.kubernetes.container.id}.log\" ],\" processors\" :[{\" convert\" :{\" mode\" :\" rename\" ,\" ignore_missing\" :true,\" fields\" :[{\" from\" :\" error\" ,\" to\" :\" _error\" }]}},{\" convert\" :{\" mode\" :\" rename\" ,\" ignore_missing\" :true,\" fields\" :[{\" from\" :\" _error\" ,\" to\" :\" error.message\" }]}},{\" convert\" :{\" mode\" :\" rename\" ,\" ignore_missing\" :true,\" fields\" :[{\" from\" :\" source\" ,\" to\" :\" _source\" }]}},{\" convert\" :{\" mode\" :\" rename\" ,\" ignore_missing\" :true,\" fields\" :[{\" from\" :\" _source\" ,\" to\" :\" event.source\" }]}}]}]"
383- " checksum/config " : a99a5f63f628a1ca8df440c12506cdfbf17827a1175dc5765b05f22f92b12b95
403+ " checksum/config " : 0167077654d0c8023b9201c09b02b9213c73d47b50aab990b1e2e8cd41653ca7
384404 labels :
385405 control-plane : elastic-operator
386406 spec :
@@ -389,12 +409,19 @@ spec:
389409 securityContext :
390410 runAsNonRoot : true
391411 containers :
392- - image : " docker.elastic.co/eck/eck-operator:2.4.0 "
412+ - image : " docker.elastic.co/eck/eck-operator:2.6.1 "
393413 imagePullPolicy : IfNotPresent
394414 name : manager
395415 args :
396416 - " manager"
397417 - " --config=/conf/eck.yaml"
418+ securityContext :
419+ allowPrivilegeEscalation : false
420+ capabilities :
421+ drop :
422+ - ALL
423+ readOnlyRootFilesystem : true
424+ runAsNonRoot : true
398425 env :
399426 - name : OPERATOR_NAMESPACE
400427 valueFrom :
@@ -440,7 +467,7 @@ metadata:
440467 name : elastic-webhook.k8s.elastic.co
441468 labels :
442469 control-plane : elastic-operator
443- app.kubernetes.io/version : " 2.4.0 "
470+ app.kubernetes.io/version : " 2.6.1 "
444471webhooks :
445472- clientConfig :
446473 caBundle : Cg==
@@ -652,4 +679,46 @@ webhooks:
652679 - UPDATE
653680 resources :
654681 - kibanas
682+ - clientConfig :
683+ caBundle : Cg==
684+ service :
685+ name : elastic-webhook-server
686+ namespace : elastic-system
687+ path : /validate-autoscaling-k8s-elastic-co-v1alpha1-elasticsearchautoscaler
688+ failurePolicy : Ignore
689+ name : elastic-esa-validation-v1alpha1.k8s.elastic.co
690+ matchPolicy : Exact
691+ admissionReviewVersions : [v1beta1]
692+ sideEffects : None
693+ rules :
694+ - apiGroups :
695+ - autoscaling.k8s.elastic.co
696+ apiVersions :
697+ - v1alpha1
698+ operations :
699+ - CREATE
700+ - UPDATE
701+ resources :
702+ - elasticsearchautoscalers
703+ - clientConfig :
704+ caBundle : Cg==
705+ service :
706+ name : elastic-webhook-server
707+ namespace : elastic-system
708+ path : /validate-scp-k8s-elastic-co-v1alpha1-stackconfigpolicies
709+ failurePolicy : Ignore
710+ name : elastic-scp-validation-v1alpha1.k8s.elastic.co
711+ matchPolicy : Exact
712+ admissionReviewVersions : [v1, v1beta1]
713+ sideEffects : None
714+ rules :
715+ - apiGroups :
716+ - stackconfigpolicy.k8s.elastic.co
717+ apiVersions :
718+ - v1alpha1
719+ operations :
720+ - CREATE
721+ - UPDATE
722+ resources :
723+ - stackconfigpolicies
655724
0 commit comments