9 lines
325 B
Bash
Executable file
9 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-
|