From 7dcb143735f154f13fccf282b6a1e5f71183fd5e Mon Sep 17 00:00:00 2001 From: Alessandro Manno Date: Tue, 18 Jul 2023 09:19:34 +0200 Subject: [PATCH] chore: Remove all non-editable keys from resources (#498) Signed-off-by: alessandro --- http-add-on/templates/crd.yaml | 1 - http-add-on/templates/rbac-interceptor.yml | 1 - http-add-on/templates/rbac-operator.yml | 2 -- http-add-on/templates/rbac-scaler.yml | 1 - keda/templates/manager/clusterrole.yaml | 1 - keda/templates/manager/role.yaml | 1 - keda/templates/metrics-server/clusterrole.yaml | 1 - 7 files changed, 8 deletions(-) diff --git a/http-add-on/templates/crd.yaml b/http-add-on/templates/crd.yaml index 90333231..cae92085 100644 --- a/http-add-on/templates/crd.yaml +++ b/http-add-on/templates/crd.yaml @@ -4,7 +4,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.12.0 - creationTimestamp: null name: httpscaledobjects.http.keda.sh spec: group: http.keda.sh diff --git a/http-add-on/templates/rbac-interceptor.yml b/http-add-on/templates/rbac-interceptor.yml index a43e1065..60111f45 100644 --- a/http-add-on/templates/rbac-interceptor.yml +++ b/http-add-on/templates/rbac-interceptor.yml @@ -1,7 +1,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null labels: httpscaledobjects.http.keda.sh/version: {{ .Values.images.tag | default .Chart.AppVersion }} keda.sh/addon: {{ .Chart.Name }} diff --git a/http-add-on/templates/rbac-operator.yml b/http-add-on/templates/rbac-operator.yml index 2541f358..c52cfaff 100644 --- a/http-add-on/templates/rbac-operator.yml +++ b/http-add-on/templates/rbac-operator.yml @@ -34,7 +34,6 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null labels: httpscaledobjects.http.keda.sh/version: {{ .Values.images.tag | default .Chart.AppVersion }} keda.sh/addon: {{ .Chart.Name }} @@ -86,7 +85,6 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null labels: httpscaledobjects.http.keda.sh/version: {{ .Values.images.tag | default .Chart.AppVersion }} keda.sh/addon: {{ .Chart.Name }} diff --git a/http-add-on/templates/rbac-scaler.yml b/http-add-on/templates/rbac-scaler.yml index dde3b930..c936dc4c 100644 --- a/http-add-on/templates/rbac-scaler.yml +++ b/http-add-on/templates/rbac-scaler.yml @@ -1,7 +1,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null labels: httpscaledobjects.http.keda.sh/version: {{ .Values.images.tag | default .Chart.AppVersion }} keda.sh/addon: {{ .Chart.Name }} diff --git a/keda/templates/manager/clusterrole.yaml b/keda/templates/manager/clusterrole.yaml index c59243c4..0242a03f 100644 --- a/keda/templates/manager/clusterrole.yaml +++ b/keda/templates/manager/clusterrole.yaml @@ -9,7 +9,6 @@ metadata: labels: app.kubernetes.io/name: {{ .Values.operator.name }} {{- include "keda.labels" . | indent 4 }} - creationTimestamp: null name: {{ .Values.operator.name }} rules: - apiGroups: diff --git a/keda/templates/manager/role.yaml b/keda/templates/manager/role.yaml index a4e29e28..04d384c9 100644 --- a/keda/templates/manager/role.yaml +++ b/keda/templates/manager/role.yaml @@ -9,7 +9,6 @@ metadata: labels: app.kubernetes.io/name: {{ .Values.operator.name }} {{- include "keda.labels" . | indent 4 }} - creationTimestamp: null name: {{ .Values.operator.name }} namespace: {{ .Release.Namespace }} rules: diff --git a/keda/templates/metrics-server/clusterrole.yaml b/keda/templates/metrics-server/clusterrole.yaml index 1a0b8f2a..4036b292 100644 --- a/keda/templates/metrics-server/clusterrole.yaml +++ b/keda/templates/metrics-server/clusterrole.yaml @@ -9,7 +9,6 @@ metadata: labels: app.kubernetes.io/name: {{ .Values.operator.name }}-external-metrics-reader {{- include "keda.labels" . | indent 4 }} - creationTimestamp: null name: {{ .Values.operator.name }}-external-metrics-reader rules: - apiGroups: