Skip to content

Commit

Permalink
Ensure All Chart Resources Have Labels (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray committed Jun 17, 2024
1 parent 69cb4e1 commit 1ef9811
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/identity/templates/identity/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: unikorn-identity-jose-tls
labels:
{{- include "unikorn.labels" . | nindent 4 }}
spec:
issuerRef:
kind: Issuer
Expand Down
2 changes: 2 additions & 0 deletions charts/identity/templates/identity/identity-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ apiVersion: identity.unikorn-cloud.org/v1alpha1
kind: Role
metadata:
name: {{ $role }}
labels:
{{- include "unikorn.labels" $ | nindent 4 }}
spec:
{{- if $spec.isDefault }}
isDefault: true
Expand Down
2 changes: 2 additions & 0 deletions charts/identity/templates/identity/issuer-jose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: unikorn-identity-jose
labels:
{{- include "unikorn.labels" . | nindent 4 }}
spec:
selfSigned: {}

0 comments on commit 1ef9811

Please sign in to comment.