fix: fix typo

This commit is contained in:
Stefan Reimer 2021-08-04 15:28:47 +02:00
parent d8ec82a35d
commit 721dbddd52
3 changed files with 1 additions and 30 deletions

View File

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

View File

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

View File

@ -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