File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ kubectl wait --namespace cert-manager --timeout=15m --for=condition=Ready cluste
86
86
Create new certificate and let it sign by Let's Encrypt to validate it:
87
87
88
88
``` bash
89
- if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups" | grep -q velero-weekly-backup-cert-manager; then
89
+ if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups/ " | grep -q velero-weekly-backup-cert-manager; then
90
90
tee " ${TMP_DIR} /${CLUSTER_FQDN} /k8s-cert-manager-certificate-production.yml" << EOF | kubectl apply -f -
91
91
apiVersion: cert-manager.io/v1
92
92
kind: Certificate
@@ -418,7 +418,7 @@ default aws k01.k8s.mylabs.dev/velero Available 2023-03-23 20:16:20
418
418
Initiate backup process and save the necessary cert-manager object to S3:
419
419
420
420
``` bash
421
- if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups" | grep -q velero-weekly-backup-cert-manager; then
421
+ if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups/ " | grep -q velero-weekly-backup-cert-manager; then
422
422
velero backup create --labels letsencrypt=production --ttl 2160h0m0s --from-schedule velero-weekly-backup-cert-manager
423
423
fi
424
424
```
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ kubectl label secret --namespace cert-manager letsencrypt-production-dns letsenc
104
104
Create a new certificate and have it signed by Let's Encrypt for validation:
105
105
106
106
``` bash
107
- if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups" | grep -q velero-monthly-backup-cert-manager-production; then
107
+ if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups/ " | grep -q velero-monthly-backup-cert-manager-production; then
108
108
tee " ${TMP_DIR} /${CLUSTER_FQDN} /k8s-cert-manager-certificate-production.yml" << EOF | kubectl apply -f -
109
109
apiVersion: cert-manager.io/v1
110
110
kind: Certificate
@@ -539,7 +539,7 @@ default aws k01.k8s.mylabs.dev/velero Available 2025-02-06 06:21:59
539
539
Initiate the backup process and store the required cert-manager objects in S3.
540
540
541
541
``` bash
542
- if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups" | grep -q velero-monthly-backup-cert-manager-production; then
542
+ if ! aws s3 ls " s3://${CLUSTER_FQDN} /velero/backups/ " | grep -q velero-monthly-backup-cert-manager-production; then
543
543
velero backup create --labels letsencrypt=production --ttl 2160h --from-schedule velero-monthly-backup-cert-manager-production --wait
544
544
fi
545
545
```
You can’t perform that action at this time.
0 commit comments