Skip to content

Commit

Permalink
Merge pull request cert-manager#39 from jamesorlakin/bugfix/helm-name…
Browse files Browse the repository at this point in the history
…space

Add explicit namespaces to all namespaced resources in Helm charts
  • Loading branch information
jetstack-bot authored Dec 12, 2022
2 parents 5570ffc + 8909f58 commit ece572a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/example-webhook/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "example-webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
app: {{ include "example-webhook.name" . }}
chart: {{ include "example-webhook.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions deploy/example-webhook/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "example-webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
app: {{ include "example-webhook.name" . }}
chart: {{ include "example-webhook.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions deploy/example-webhook/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "example-webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
app: {{ include "example-webhook.name" . }}
chart: {{ include "example-webhook.chart" . }}
Expand Down

0 comments on commit ece572a

Please sign in to comment.