helm: Add new job to create service accounts (#15939)

This commit is contained in:
asoria-lf
2022-11-13 18:28:07 +01:00
committed by GitHub
parent 344ae9f84e
commit 14e52f29b0
7 changed files with 266 additions and 8 deletions
+38 -6
View File
@@ -351,7 +351,6 @@ users:
# existingSecretKey: password
# policy: readonly
## Additional Annotations for the Kubernetes Job makeUserJob
makeUserJob:
podAnnotations: {}
@@ -372,6 +371,39 @@ makeUserJob:
# Command to run after the main command on exit
exitCommand: ""
## List of service accounts to be created after minio install
##
# svcaccts:
## accessKey, secretKey and parent user to be assigned to the service accounts
## Add new service accounts as explained here https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/minio-user-management.html#service-accounts
# - accessKey: console-svcacct
# secretKey: console123
# user: console
## Or you can refer to specific secret
# - accessKey: externalSecret
# existingSecret: my-secret
# existingSecretKey: password
# user: console
makeServiceAccountJob:
podAnnotations: {}
annotations: {}
securityContext:
enabled: false
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
resources:
requests:
memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
extraVolumes: []
extraVolumeMounts: []
# Command to run after the main command on exit
exitCommand: ""
## List of buckets to be created after minio install
##
buckets:
@@ -386,14 +418,14 @@ buckets:
# # bucket [true|false]
# versioning: false
# # set objectlocking for
# # bucket [true|false] NOTE: versioning is enabled by default if you use locking
# # bucket [true|false] NOTE: versioning is enabled by default if you use locking
# objectlocking: false
# - name: bucket2
# policy: none
# purge: false
# versioning: true
# # set objectlocking for
# # bucket [true|false] NOTE: versioning is enabled by default if you use locking
# # bucket [true|false] NOTE: versioning is enabled by default if you use locking
# objectlocking: false
## Additional Annotations for the Kubernetes Job makeBucketJob
@@ -415,7 +447,7 @@ makeBucketJob:
extraVolumeMounts: []
# Command to run after the main command on exit
exitCommand: ""
## List of command to run after minio install
## NOTE: the mc command TARGET is always "myminio"
customCommands:
@@ -438,7 +470,7 @@ customCommandJob:
affinity: {}
# Command to run after the main command on exit
exitCommand: ""
## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s)
## when Chart is deployed
environment:
@@ -490,7 +522,7 @@ metrics:
serviceMonitor:
enabled: false
# scrape each node/pod individually for additional metrics
includeNode: false
includeNode: false
public: true
additionalLabels: {}
# for node metrics