mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
10 lines
325 B
Bash
Executable File
10 lines
325 B
Bash
Executable File
#!/bin/sh
|
|
# Migration 8 --> 9
|
|
|
|
if kubectl get clusterrolebinding kubeapps-admin-group; then
|
|
kubectl delete clusterrolebinding kubeapps-admin-group
|
|
fi
|
|
|
|
# Write version to cozystack-version config
|
|
kubectl create configmap -n cozy-system cozystack-version --from-literal=version=9 --dry-run=client -o yaml | kubectl apply -f-
|