Skip to content

Commit 8b967ad

Browse files
committed
Deploy trust manager in preview
1 parent 44fcbae commit 8b967ad

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

dev/preview/workflow/preview/deploy-gitpod.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,23 @@ function installFluentBit {
200200
upgrade --install fluent-bit fluent/fluent-bit --version 0.21.6 -n "${PREVIEW_NAMESPACE}" -f "$ROOT/.werft/vm/charts/fluentbit/values.yaml"
201201
}
202202

203+
function installTrustManager {
204+
helm3 \
205+
--kubeconfig "${PREVIEW_K3S_KUBE_PATH}" \
206+
--kube-context "${PREVIEW_K3S_KUBE_CONTEXT}" \
207+
repo add jetstack https://charts.jetstack.io
208+
209+
helm3 \
210+
--kubeconfig "${PREVIEW_K3S_KUBE_PATH}" \
211+
--kube-context "${PREVIEW_K3S_KUBE_CONTEXT}" \
212+
repo update
213+
214+
helm3 \
215+
--kubeconfig "${PREVIEW_K3S_KUBE_PATH}" \
216+
--kube-context "${PREVIEW_K3S_KUBE_CONTEXT}" \
217+
upgrade --install --namespace cert-manager trust-manager jetstack/trust-manager --wait
218+
}
219+
203220
# ====================================
204221
# Prerequisites
205222
# ====================================
@@ -222,6 +239,7 @@ done
222239
copyImagePullSecret
223240
installRookCeph
224241
installFluentBit
242+
installTrustManager
225243

226244
# ========
227245
# Init

0 commit comments

Comments
 (0)