Skip to content

Commit 1bd69c5

Browse files
authored
Merge pull request #9 from MammatusPHP/introduce-release-value
Introduce release value
2 parents ab0013e + 9ebff46 commit 1bd69c5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

charts/mammatus/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: mammatus
33
description: MammatusPHP Chart
44
type: application
5-
version: 0.0.6
6-
appVersion: 0.0.6
5+
version: 0.0.7
6+
appVersion: 0.0.7
77
maintainers:
88
- name: WyriHaximus
99

charts/mammatus/templates/_pod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{- define "mammatus.pod" -}}
33
containers:
44
- name: {{ .name }}
5-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
5+
image: "{{ .Values.image.repository }}:{{ .Values.release }}"
66
imagePullPolicy: {{ .Values.image.pullPolicy }}
77
command:
88
- php
@@ -25,7 +25,7 @@ containers:
2525
{{- define "mammatus.env" -}}
2626
env:
2727
- name: RELEASE_TAG
28-
value: {{ .Values.image.tag }}
28+
value: {{ .Values.release }}
2929
- name: POD_NAME
3030
valueFrom:
3131
fieldRef:

charts/mammatus/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
release: dev
2+
13
cronjobs: []
24
# - name: some_job
35
# class: Some\Class\FQCN
@@ -22,7 +24,6 @@ secrets: []
2224
image:
2325
repository: ghcr.io/LOGIN/REPO
2426
pullPolicy: IfNotPresent
25-
tag: dev
2627

2728
resources:
2829
cpu: 100m

0 commit comments

Comments
 (0)