diff --git a/magefiles/gateway.go b/magefiles/gateway.go index 50c6d340b9..059089b342 100644 --- a/magefiles/gateway.go +++ b/magefiles/gateway.go @@ -481,6 +481,9 @@ func gatewayRBAC(m TemplateMaps, namespace, contents string) *corev1.ConfigMap { Name: gatewayName, Namespace: namespace, Labels: labels, + Annotations: map[string]string{ + "qontract.recycle:": "true", + }, }, TypeMeta: metav1.TypeMeta{ Kind: "ConfigMap", diff --git a/resources/services/observatorium-api/production/observatorium-api-template.yaml b/resources/services/observatorium-api/production/observatorium-api-template.yaml index 3de90748f1..2fed075db8 100755 --- a/resources/services/observatorium-api/production/observatorium-api-template.yaml +++ b/resources/services/observatorium-api/production/observatorium-api-template.yaml @@ -339,6 +339,8 @@ objects: - rhel kind: ConfigMap metadata: + annotations: + 'qontract.recycle:': "true" creationTimestamp: null labels: app.kubernetes.io/component: api diff --git a/resources/services/observatorium-api/staging/observatorium-api-template.yaml b/resources/services/observatorium-api/staging/observatorium-api-template.yaml index 76d3f163da..7cbc27a243 100755 --- a/resources/services/observatorium-api/staging/observatorium-api-template.yaml +++ b/resources/services/observatorium-api/staging/observatorium-api-template.yaml @@ -339,6 +339,8 @@ objects: - rhel kind: ConfigMap metadata: + annotations: + 'qontract.recycle:': "true" creationTimestamp: null labels: app.kubernetes.io/component: api