fix: fix typo
This commit is contained in:
parent
d8ec82a35d
commit
721dbddd52
@ -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
|
||||||
|
@ -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 }}
|
||||||
|
@ -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…
Reference in New Issue
Block a user