-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: SK Ali Arman <[email protected]>
- Loading branch information
1 parent
5b73374
commit 0859f0e
Showing
8 changed files
with
166 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
docs/guides/mysql/pitr/volumesnapshot/yamls/backupstorage-restricted-ns.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: storage.kubestash.com/v1alpha1 | ||
kind: BackupStorage | ||
metadata: | ||
name: storage | ||
namespace: demo | ||
spec: | ||
storage: | ||
provider: s3 | ||
s3: | ||
endpoint: s3.amazonaws.com | ||
bucket: mysql-archiver | ||
region: us-east-1 | ||
prefix: my-demo | ||
secretName: s3-secret | ||
usagePolicy: | ||
allowedNamespaces: | ||
from: All | ||
deletionPolicy: WipeOut | ||
# for restricted namespace | ||
runtimeSettings: | ||
pod: | ||
securityContext: | ||
runAsUser: 65535 | ||
runAsNonRoot: true | ||
seccompProfile: | ||
type: RuntimeDefault | ||
container: | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
capabilities: | ||
drop: | ||
- ALL |
15 changes: 7 additions & 8 deletions
15
docs/guides/mysql/pitr/volumesnapshot/yamls/backupstorage.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
apiVersion: storage.kubestash.com/v1alpha1 | ||
kind: BackupStorage | ||
metadata: | ||
name: linode-storage | ||
name: storage | ||
namespace: demo | ||
spec: | ||
storage: | ||
provider: s3 | ||
s3: | ||
bucket: mehedi-pg-wal-g | ||
endpoint: https://ap-south-1.linodeobjects.com | ||
region: ap-south-1 | ||
prefix: backup | ||
secretName: storage | ||
endpoint: s3.amazonaws.com | ||
bucket: mysql-archiver | ||
region: us-east-1 | ||
prefix: my-demo | ||
secretName: s3-secret | ||
usagePolicy: | ||
allowedNamespaces: | ||
from: All | ||
default: true | ||
deletionPolicy: WipeOut | ||
deletionPolicy: WipeOut |
Oops, something went wrong.