diff --git a/charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml b/charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml index cbb808876..c505cb08b 100644 --- a/charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml +++ b/charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml @@ -2218,6 +2218,37 @@ spec: - name type: object type: array + deploymentUpdateStrategy: + description: UpdateStrategy represents the strategy the operator will + take replacing existing Deployment pods with new pods https://kubernetes. + properties: + rollingUpdate: + description: 'Rolling update config params. Present only if DeploymentStrategyType + = RollingUpdate. --- TODO: Update this to follow our convention + for oneOf, whatever we decide it to be.' + properties: + maxSurge: + anyOf: + - type: integer + - type: string + description: 'The maximum number of pods that can be scheduled + above the desired number of pods. Value can be an absolute + number (ex: 5) or a percentage of desired pods (ex: 10%).' + x-kubernetes-int-or-string: true + maxUnavailable: + anyOf: + - type: integer + - type: string + description: 'The maximum number of pods that can be unavailable + during the update. Value can be an absolute number (ex: + 5) or a percentage of desired pods (ex: 10%).' + x-kubernetes-int-or-string: true + type: object + type: + description: Type of deployment. Can be "Recreate" or "RollingUpdate". + Default is RollingUpdate. + type: string + type: object env: description: ENV vars to set on the OpenTelemetry Collector's Pods. These can then in certain cases be consumed in the config file for diff --git a/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml b/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml index f6b9687da..576961b87 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml @@ -8,7 +8,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook @@ -93,7 +93,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook diff --git a/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml b/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml index 1433c1bfa..d78d0c470 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml @@ -6,7 +6,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook @@ -31,7 +31,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml index 3ab69b1ff..51e687aaa 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml @@ -6,7 +6,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -16,9 +16,6 @@ rules: - "" resources: - configmaps - - pods - - serviceaccounts - - services verbs: - create - delete @@ -41,12 +38,46 @@ rules: verbs: - list - watch + - apiGroups: + - "" + resources: + - serviceaccounts + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - "" + resources: + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - apps resources: - daemonsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - apps + resources: - deployments - - statefulsets verbs: - create - delete @@ -64,9 +95,9 @@ rules: - list - watch - apiGroups: - - autoscaling + - apps resources: - - horizontalpodautoscalers + - statefulsets verbs: - create - delete @@ -76,13 +107,16 @@ rules: - update - watch - apiGroups: - - config.openshift.io + - autoscaling resources: - - infrastructures - - infrastructures/status + - horizontalpodautoscalers verbs: + - create + - delete - get - list + - patch + - update - watch - apiGroups: - coordination.k8s.io @@ -96,8 +130,8 @@ rules: - apiGroups: - monitoring.coreos.com resources: - - podmonitors - servicemonitors + - podmonitors verbs: - create - delete @@ -131,10 +165,8 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges + - opentelemetrycollectors verbs: - - create - - delete - get - list - patch @@ -143,13 +175,15 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges/finalizers + - opentelemetrycollectors/finalizers verbs: + - get + - patch - update - apiGroups: - opentelemetry.io resources: - - opampbridges/status + - opentelemetrycollectors/status verbs: - get - patch @@ -157,7 +191,7 @@ rules: - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors + - opampbridges verbs: - get - list @@ -167,7 +201,7 @@ rules: - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors/finalizers + - opampbridges/finalizers verbs: - get - patch @@ -175,41 +209,36 @@ rules: - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors/status + - opampbridges/status verbs: - get - patch - update - apiGroups: - - policy + - route.openshift.io resources: - - poddisruptionbudgets + - routes + - routes/custom-host verbs: - - create - - delete - - get - - list - - patch - - update - - watch + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - - rbac.authorization.k8s.io + - discovery.k8s.io resources: - - clusterrolebindings - - clusterroles + - endpointslices verbs: - - create - - delete - - get - - list - - patch - - update - - watch + - get + - list + - watch - apiGroups: - - route.openshift.io + - policy resources: - - routes - - routes/custom-host + - poddisruptionbudgets verbs: - create - delete @@ -226,7 +255,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -244,7 +273,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml index cd52e6139..f2069ffd1 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml @@ -6,7 +6,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -27,7 +27,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml b/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml index 86d09f20d..7a752b438 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -39,7 +39,7 @@ spec: env: - name: ENABLE_WEBHOOKS value: "true" - image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.92.0" + image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.92.1" name: manager ports: - containerPort: 8080 diff --git a/charts/opentelemetry-operator/examples/default/rendered/role.yaml b/charts/opentelemetry-operator/examples/default/rendered/role.yaml index 4873d7711..9d033429b 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/role.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/role.yaml @@ -6,7 +6,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml b/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml index 5ed9d73e7..b732325a6 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml @@ -6,7 +6,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/service.yaml b/charts/opentelemetry-operator/examples/default/rendered/service.yaml index 15aa620cf..fa5b909de 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/service.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -33,7 +33,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml b/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml index 29cd3f1c2..0fd9bce69 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml @@ -8,7 +8,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml b/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml index 68a59752d..ceaef1dda 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml @@ -8,7 +8,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook diff --git a/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml b/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml index 33353523c..bc1756d43 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml @@ -8,7 +8,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -45,7 +45,7 @@ metadata: labels: helm.sh/chart: opentelemetry-operator-0.46.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.92.0" + app.kubernetes.io/version: "0.92.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager