more redaction
This commit is contained in:
@@ -141,7 +141,7 @@ kubectl get networkpolicy -n longhorn-system longhorn-block-s3-access
|
||||
kubectl get cronjobs -n longhorn-system | grep longhorn-.*-s3-access
|
||||
|
||||
# 3. Test: S3 access should be blocked
|
||||
kubectl exec -n longhorn-system deploy/longhorn-ui -- curl -I https://eu-central-003.backblazeb2.com
|
||||
kubectl exec -n longhorn-system deploy/longhorn-ui -- curl -I https://<B2_ENDPOINT>
|
||||
# Expected: Connection timeout or network error
|
||||
```
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ Longhorn's `backupstore-poll-interval` setting controls how frequently Longhorn
|
||||
```yaml
|
||||
data:
|
||||
default-resource.yaml: |-
|
||||
"backup-target": "s3://longhorn-keyboard-vagabond@eu-central-003.backblazeb2.com/longhorn-backup"
|
||||
"backup-target": "s3://<BUCKET_NAME>@<B2_ENDPOINT>/longhorn-backup"
|
||||
"backup-target-credential-secret": "backblaze-credentials"
|
||||
"backupstore-poll-interval": "86400" # 24 hours
|
||||
"virtual-hosted-style": "true"
|
||||
@@ -164,7 +164,7 @@ kubectl get jobs -n longhorn-system | grep backup
|
||||
|
||||
# Check backup target connectivity (should work anytime)
|
||||
MANAGER_POD=$(kubectl get pods -n longhorn-system -l app=longhorn-manager --no-headers | head -1 | awk '{print $1}')
|
||||
kubectl exec -n longhorn-system "$MANAGER_POD" -c longhorn-manager -- curl -I https://eu-central-003.backblazeb2.com
|
||||
kubectl exec -n longhorn-system "$MANAGER_POD" -c longhorn-manager -- curl -I https://<B2_ENDPOINT>
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
Reference in New Issue
Block a user