From 3fb44e7ed668c6644da0700cf929bd74bf81b1ee Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 14 Oct 2023 07:35:23 -0500 Subject: [PATCH] phpipam: Set instance label for Argo CD Argo CD wants every resource managed by an application to have that application's name as the value of the `app.kubernetes.io/instance` label. --- phpipam/phpipam.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/phpipam/phpipam.yaml b/phpipam/phpipam.yaml index 46e3bf7..275359d 100644 --- a/phpipam/phpipam.yaml +++ b/phpipam/phpipam.yaml @@ -12,6 +12,8 @@ kind: ConfigMap metadata: name: phpipam-httpd-conf namespace: phpipam + labels: + app.kubernetes.io/instance: phpipam data: phpipam.conf: | @@ -31,6 +33,8 @@ kind: PersistentVolumeClaim metadata: name: phpipam-pvc namespace: phpipam + labels: + app.kubernetes.io/instance: phpipam spec: accessModes: - ReadWriteOnce @@ -231,6 +235,11 @@ metadata: nginx.ingress.kubernetes.io/auth-url: http://authelia.authelia.svc.cluster.local:9091/api/verify nginx.ingress.kubernetes.io/auth-signin: https://auth.pyrocufflink.blue/?rm=$request_method nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email + labels: + app.kubernetes.io/component: phpipam-www + app.kubernetes.io/name: phpipam + app.kubernetes.io/instance: phpipam + app.kubernetes.io/part-of: phpipam name: phpipam namespace: phpipam spec: