Skip to content

Commit

Permalink
fix: Include name helper for container name in all three charts (#154)
Browse files Browse the repository at this point in the history
* fix: Include name helper for container name in all three charts

fixes: #153

* use correct template name in edge

* added document marker to top of deployment files
  • Loading branch information
chriswk authored Jul 9, 2024
1 parent 12c6264 commit b2c6594
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/unleash-edge/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg

type: application

version: 2.6.1
version: 2.6.2

appVersion: "v19.1.3"

Expand Down
3 changes: 2 additions & 1 deletion charts/unleash-edge/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -31,7 +32,7 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: {{ include "unleash-edge.name" . }}
args: ["edge"]
env:
- name: UPSTREAM_URL
Expand Down
4 changes: 2 additions & 2 deletions charts/unleash-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.8.0
version: 0.8.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.17.0"
appVersion: "v1.3.0"

maintainers:
- name: nkz-soft
Expand Down
3 changes: 2 additions & 1 deletion charts/unleash-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -31,7 +32,7 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: {{ include "unleash-proxy.name" . }}
env:
{{- if .Values.proxy.apiTokenSecret.enabled }}
- name: UNLEASH_API_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg

type: application

version: 5.1.0
version: 5.1.1

appVersion: "6.0.0"

Expand Down
3 changes: 2 additions & 1 deletion charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -29,7 +30,7 @@ spec:
{{- end }}
serviceAccountName: {{ include "unleash.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
- name: {{ include "unleash.name" . }}
env:
{{- if or (.Values.dbConfig.useExistingSecret.name) (.Values.postgresql.enabled) }}
- name: POSTGRESQL_PASSWORD
Expand Down

0 comments on commit b2c6594

Please sign in to comment.