File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ apiVersion: v2
2
2
name : wordpress-hardened
3
3
description : " Lightweight Wordpress installation with additional security fixes"
4
4
type : application
5
- version : 0.0-latest-master
6
- appVersion : " " # replaced by CI on build stage
5
+ version : 0.0.0 -latest-master
6
+ appVersion : " master " # replaced by CI on build stage
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
- cat ../../Dockerfile | grep " FROM wordpress" | grep -P -o ' [0-9.]+' | head -1
3
+
4
+ SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
5
+ echo -n $( cat ${SCRIPT_DIR} /../../../Dockerfile | grep " FROM wordpress" | grep -P -o ' [0-9.]+' | head -1)
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ spec:
136
136
# WordPress container
137
137
# ================================================================
138
138
- name : app
139
- image : {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
139
+ image : {{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}
140
140
imagePullPolicy : Always
141
141
env :
142
142
{{- with .Values.env }}
You can’t perform that action at this time.
0 commit comments