Skip to content

Commit

Permalink
Introduce release value
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jun 9, 2024
1 parent ab0013e commit 9ebff46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/mammatus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: mammatus
description: MammatusPHP Chart
type: application
version: 0.0.6
appVersion: 0.0.6
version: 0.0.7
appVersion: 0.0.7
maintainers:
- name: WyriHaximus
email: helm@ceesjankiewiet.nl
Expand Down
4 changes: 2 additions & 2 deletions charts/mammatus/templates/_pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- define "mammatus.pod" -}}
containers:
- name: {{ .name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ .Values.release }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- php
Expand All @@ -25,7 +25,7 @@ containers:
{{- define "mammatus.env" -}}
env:
- name: RELEASE_TAG
value: {{ .Values.image.tag }}
value: {{ .Values.release }}
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
3 changes: 2 additions & 1 deletion charts/mammatus/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
release: dev

cronjobs: []
# - name: some_job
# class: Some\Class\FQCN
Expand All @@ -22,7 +24,6 @@ secrets: []
image:
repository: ghcr.io/LOGIN/REPO
pullPolicy: IfNotPresent
tag: dev

resources:
cpu: 100m
Expand Down

0 comments on commit 9ebff46

Please sign in to comment.