Skip to content

Commit df771fe

Browse files
committed
update taskfile
1 parent 05470e0 commit df771fe

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

applications/wg-easy/Taskfile.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,16 @@ tasks:
172172
deps:
173173
- cluster-create
174174

175+
helm-preflight:
176+
desc: Run preflight checks on Helm charts using preflight CLI
177+
silent: false
178+
cmds:
179+
- defer: rm -f preflightbundle-*.tar.gz
180+
- helm template charts/wg-easy | kubectl preflight -
181+
- helm template charts/cert-manager | kubectl preflight -
182+
deps:
183+
- setup-kubeconfig
184+
175185
helm-install:
176186
desc: Install all charts using helmfile
177187
silent: false

applications/wg-easy/container/Containerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,6 @@ RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | b
7070
&& tar xf preflight.tar.gz preflight && rm preflight.tar.gz \
7171
&& mv preflight /usr/local/bin/preflight \
7272

73-
# Install yq
74-
&& BINARY=yq_linux_amd64 \
75-
&& VERSION=v4.45.1 \
76-
&& curl -Ls https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O \
77-
&& tar xf ${BINARY}.tar.gz && rm ${BINARY}.tar.gz \
78-
&& mv ${BINARY} /usr/local/bin/yq
79-
8073
# Create a non-root user for better security
8174
RUN groupadd -r devuser && useradd -r -g devuser -m -s /bin/bash devuser
8275

0 commit comments

Comments
 (0)