jenkins: 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.dch-webhooks-secrets
parent
f3fcb92066
commit
860bfb1e2c
|
@ -124,6 +124,13 @@ spec:
|
|||
containerPort: 8080
|
||||
- name: jnlp
|
||||
containerPort: 40414
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 40414
|
||||
initialDelaySeconds: 120
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 5
|
||||
securityContext:
|
||||
seLinuxOptions:
|
||||
level: s0:c525,c600
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
labels:
|
||||
- pairs:
|
||||
app.kubernetes.io/instance: jenkins
|
||||
|
||||
resources:
|
||||
- jenkins.yaml
|
||||
|
||||
|
|
Loading…
Reference in New Issue