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.
This commit is contained in:
@@ -12,6 +12,8 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: phpipam-httpd-conf
|
||||
namespace: phpipam
|
||||
labels:
|
||||
app.kubernetes.io/instance: phpipam
|
||||
data:
|
||||
phpipam.conf: |
|
||||
<VirtualHost *:80>
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user