Skip to content
Snippets Groups Projects
Verified Commit bc2ccad4 authored by Sven Haardiek's avatar Sven Haardiek
Browse files

Switch to OCI Helm Chart

parent 2fc789bc
No related branches found
No related tags found
1 merge request!2Switch to OCI Helm Chart
Pipeline #247154 passed
...@@ -16,7 +16,7 @@ variables: ...@@ -16,7 +16,7 @@ variables:
# This has to be changed, if a newer version of the helm chart should be used. # This has to be changed, if a newer version of the helm chart should be used.
# development of the web server helm chart occurs here: # development of the web server helm chart occurs here:
# https://zivgitlab.uni-muenster.de/wwu-it/wwukube/helm-charts/-/tree/main/webserver # https://zivgitlab.uni-muenster.de/wwu-it/wwukube/helm-charts/-/tree/main/webserver
helm_chart_version: 0.0.4 helm_chart_version: 0.0.12
# Cluster on which to deploy the website. # Cluster on which to deploy the website.
# Most websites will run on wwukube-prod-ms1. # Most websites will run on wwukube-prod-ms1.
cluster: wwukube-prod-ms1 cluster: wwukube-prod-ms1
...@@ -133,12 +133,9 @@ Deploy new Image: ...@@ -133,12 +133,9 @@ Deploy new Image:
} }
EOF EOF
# Add helm repo
- helm repo add helm-charts https://harbor.uni-muenster.de/chartrepo/helm-charts
# Deploy to the WWU Kube while overiding image repository and tag with the newly built docker image # Deploy to the WWU Kube while overiding image repository and tag with the newly built docker image
- helm --kube-context "$cluster" upgrade "$release" helm-charts/webserver --install --namespace "$namespace" - helm --kube-context "$cluster" upgrade "$release" oci://harbor.uni-muenster.de/helm-charts/webserver
--set "image.repository=$CI_REGISTRY_IMAGE/$name" --set "image.tag=$CI_COMMIT_SHORT_SHA" --install --namespace "$namespace" --set "image.repository=$CI_REGISTRY_IMAGE/$name"
--version $helm_chart_version -f helm-values.yaml --set "image.tag=$CI_COMMIT_SHORT_SHA" --version $helm_chart_version -f helm-values.yaml
rules: rules:
- if: $deploy == "true" - if: $deploy == "true"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment