Skip to content

Commit 2e84ef3

Browse files
committed
Fix namespace in helm chart
1 parent 86af1fc commit 2e84ef3

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
target
22
temp
33
dist
4+
.DS_Store

charts/gravivol/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: v2
22
name: gravivol
3-
description: A mutating admission webhook to fix pod scheduling
3+
description: A Helm chart for a mutating admission webhook to fix pod scheduling
44

55
type: application
66

7-
version: 1.0.0
7+
version: 1.0.1
88

9-
appVersion: "0.0.1"
9+
appVersion: "main"

charts/gravivol/templates/cert-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
secretName: {{ include "gravivol.fullname" . }}-server-cert
1010
duration: 87600h
1111
dnsNames:
12-
- {{ include "gravivol.fullname" . }}.default.svc
12+
- {{ include "gravivol.fullname" . }}.{{ .Release.Namespace }}.svc
1313
isCA: false
1414
privateKey:
1515
encoding: PKCS8

charts/gravivol/templates/webhookConfiguration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: {{ include "gravivol.serviceAccountName" . }}
55
annotations:
66
# This configures cert-manager to inject a CA in this resource
7-
cert-manager.io/inject-ca-from: default/{{ include "gravivol.fullname" . }}-client
7+
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "gravivol.fullname" . }}-client
88
webhooks:
99
- name: gravivol.fonona.net
1010
clientConfig:

charts/gravivol/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ image:
66
pullPolicy: IfNotPresent
77
#pullPolicy: Always
88
# Overrides the image tag whose default is the chart appVersion.
9-
tag: "main"
9+
tag: ""
1010

1111
imagePullSecrets: []
1212
# This is to override the chart name.

0 commit comments

Comments
 (0)