Skip to content
Snippets Groups Projects
Verified Commit da749058 authored by David Hoese's avatar David Hoese
Browse files

Switch GRB to write to longhorn persistent volume claim

parent a02149bf
No related branches found
No related tags found
No related merge requests found
...@@ -166,10 +166,12 @@ deploy_g16_grb: ...@@ -166,10 +166,12 @@ deploy_g16_grb:
- cp $kubekorner_k3s_config . - cp $kubekorner_k3s_config .
- kubeconfig=$(basename $kubekorner_k3s_config) - kubeconfig=$(basename $kubekorner_k3s_config)
- echo "Deploying version $docker_tag to cluster namespace $ns" - echo "Deploying version $docker_tag to cluster namespace $ns"
- pvc=$(kubectl --kubeconfig $kubeconfig get pvc --namespace $ns cspp-geo-grb -o jsonpath="{.metadata.name}" || echo "");
- echo $pvc
# copy extra values files to the local directory (where helm has access via docker mount) # copy extra values files to the local directory (where helm has access via docker mount)
- cp ../../production/values-grb-g16.yaml . - cp ../../production/values-grb-g16.yaml .
# namespace names are the same as domain names # namespace names are the same as domain names
- helm upgrade -v 2 --install --kubeconfig $kubeconfig --namespace $ns -f values-grb-g16.yaml cspp-geo-grb cspp-geo-grb/ - helm upgrade -v 2 --install --kubeconfig $kubeconfig --namespace $ns --set persistence.enabled=true --set persistence.storageClass=longhorn -f values-grb-g16.yaml cspp-geo-grb cspp-geo-grb/
dependencies: dependencies:
- get_chart_grb - get_chart_grb
rules: rules:
......
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