Skip to content

Commit

Permalink
fix(chart)!: Remove namespace and rename image name field (#13)
Browse files Browse the repository at this point in the history
* renaming repository field in values.yaml

* making overwhelm-system namespace opt outable

* fixing formatting for values

* yaml formatting

* addressing comments

* increasing chart version

* Update .charts/overwhelm/templates/overwhelm-system-namespace.yaml

Co-authored-by: TwiN <[email protected]>

* addressing comments

* reverting version since change shouldn't be breaking by default

* removing namespace template, bumping major version due to breaking change

Co-authored-by: bora <[email protected]>
Co-authored-by: TwiN <[email protected]>
  • Loading branch information
3 people authored Aug 17, 2022
1 parent af6f3ff commit 31fd56f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .charts/overwhelm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: overwhelm
version: 0.0.3
version: 1.0.0
maintainers:
- name: "Expedia Group"
url: "https://github.com/ExpediaGroup/overwhelm"
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
- --leader-elect
command:
- /manager
image: {{ .Values.overwhelm.deployment.image.manager.name }}:{{ .Values.overwhelm.deployment.image.manager.tag }}
image: {{ .Values.overwhelm.deployment.image.manager.repository }}:{{ .Values.overwhelm.deployment.image.manager.tag }}
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -47,7 +47,7 @@ spec:
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v=0
image: {{ .Values.overwhelm.deployment.image.kubeRbacProxy.name }}:{{ .Values.overwhelm.deployment.image.kubeRbacProxy.tag }}
image: {{ .Values.overwhelm.deployment.image.kubeRbacProxy.repository }}:{{ .Values.overwhelm.deployment.image.kubeRbacProxy.tag }}
name: kube-rbac-proxy
ports:
- containerPort: 8443
Expand Down
6 changes: 0 additions & 6 deletions .charts/overwhelm/templates/overwhelm-system-namespace.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .charts/overwhelm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ overwhelm:
deployment:
image:
manager:
name: ghcr.io/expediagroup/overwhelm
repository: ghcr.io/expediagroup/overwhelm
tag: latest
kubeRbacProxy:
name: gcr.io/kubebuilder/kube-rbac-proxy
repository: gcr.io/kubebuilder/kube-rbac-proxy
tag: v0.8.0
labels:
control-plane: controller-manager
Expand Down
4 changes: 2 additions & 2 deletions config/helm-manifest/manager_deployment_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ spec:
spec:
containers:
- name: manager
image: <GOTEMPLATE> .Values.overwhelm.deployment.image.manager.name </GOTEMPLATE>:<GOTEMPLATE> .Values.overwhelm.deployment.image.manager.tag </GOTEMPLATE>
image: <GOTEMPLATE> .Values.overwhelm.deployment.image.manager.repository </GOTEMPLATE>:<GOTEMPLATE> .Values.overwhelm.deployment.image.manager.tag </GOTEMPLATE>
- name: kube-rbac-proxy
image: <GOTEMPLATE> .Values.overwhelm.deployment.image.kubeRbacProxy.name </GOTEMPLATE>:<GOTEMPLATE> .Values.overwhelm.deployment.image.kubeRbacProxy.tag </GOTEMPLATE>
image: <GOTEMPLATE> .Values.overwhelm.deployment.image.kubeRbacProxy.repository </GOTEMPLATE>:<GOTEMPLATE> .Values.overwhelm.deployment.image.kubeRbacProxy.tag </GOTEMPLATE>

0 comments on commit 31fd56f

Please sign in to comment.