-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration
nivr4 edited this page Jan 5, 2023
·
3 revisions
S3Bucket K8S resource fields:
- name - the name of the resource will be the name of the s3 bucket in amazon therefor the name must be from the format of AWS.
- serviceaccount (string, required) - define the serviceaccount to create/update with permission to the bucket.
- selector (map[string]string, required) - use selector to attach specific app to s3Bucket resource.
- tags (map[string]string, optional) - tags that will add to the s3 bucket in addition to the default tag
- encryption (bool, optional) - define if to set default server-side encryption.
apiVersion: s3operator.payu.com/v1
kind: S3Bucket
metadata:
name: s3bucket-sample
namespace: k8s-s3-operator-system
spec:
encryption: false
serviceaccount: service-account-test
selector:
app: test-app