Browse Source

fix: fix typo

pull/47/head
Stefan Reimer 6 months ago
parent
commit
f962cea71b
  1. 8
      charts/kubezero/bootstrap.sh
  2. 2
      charts/kubezero/templates/storage.yaml
  3. 21
      scripts/upgrade_cert-manager.sh

8
charts/kubezero/bootstrap.sh

@ -198,14 +198,6 @@ function metrics-pre() {
}
###########
# Logging #
###########
function logging-post() {
kubectl annotate --overwrite namespace logging 'iam.amazonaws.com/permitted=.*ElasticSearchSnapshots.*'
}
## MAIN ##
if [ $1 == "deploy" ]; then
for t in ${ARTIFACTS[@]}; do

2
charts/kubezero/templates/storage.yaml

@ -1,6 +1,6 @@
{{- define "storage-values" }}
{{- with index .Values "cert-manager" "storageClass" }}
{{- with index .Values "storage" "storageClass" }}
storageClass:
{{- . | toYaml | nindent 2 }}
{{- end }}

21
scripts/upgrade_cert-manager.sh

@ -1,21 +0,0 @@
#!/bin/bash
kubectl get -o yaml \
--all-namespaces \
issuer,clusterissuer,certificates,certificaterequests > cert-manager-backup.yaml
kubectl cert-manager convert --output-version cert-manager.io/v1 -f cert-manager-backup.yaml > cert-manager-v1.yaml
./bootstrap.sh delete cert-manager $1
kubectl delete crd certificaterequests.cert-manager.io
kubectl delete crd certificates.cert-manager.io
kubectl delete crd challenges.acme.cert-manager.io
kubectl delete crd clusterissuers.cert-manager.io
kubectl delete crd issuers.cert-manager.io
kubectl delete crd orders.acme.cert-manager.io
./bootstrap.sh crds cert-manager $1
./bootstrap.sh deploy cert-manager $1
kubectl apply -f cert-manager-v1.yaml
Loading…
Cancel
Save