123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- # Adding an extra initial delay to avoid race conditions with the
- # deployment and goss stages
- readinessProbe:
- initialDelaySeconds: 30
- extraDeploy:
- # Taken from https://github.com/minio/operator/tree/master/examples
- - |
- apiVersion: v1
- kind: Secret
- metadata:
- name: storage-configuration
- namespace: {{ include "common.names.namespace" . | quote }}
- stringData:
- config.env: |-
- export MINIO_ROOT_USER="minio"
- export MINIO_ROOT_PASSWORD="minio123"
- export MINIO_STORAGE_CLASS_STANDARD="EC:2"
- export MINIO_BROWSER="on"
- export NAMESPACE={{ include "common.names.namespace" . | quote }}
- type: Opaque
- - |
- apiVersion: v1
- stringData:
- CONSOLE_ACCESS_KEY: console
- CONSOLE_SECRET_KEY: console123
- kind: Secret
- metadata:
- name: storage-user
- namespace: {{ include "common.names.namespace" . | quote }}
- type: Opaque
- - |
- apiVersion: v1
- kind: ServiceAccount
- metadata:
- name: vib-service-account
- namespace: {{ include "common.names.namespace" . | quote }}
- {{ include "minio-operator.imagePullSecrets" . }}
- - |
- apiVersion: minio.min.io/v2
- kind: Tenant
- metadata:
- labels:
- app: minio
- name: vib-minio
- namespace: {{ include "common.names.namespace" . | quote }}
- spec:
- serviceAccountName: vib-service-account
- certConfig: {}
- configuration:
- name: storage-configuration
- env: []
- externalCaCertSecret: []
- externalCertSecret: []
- externalClientCertSecrets: []
- features:
- bucketDNS: false
- domains: {}
- mountPath: /export
- podManagementPolicy: Parallel
- pools:
- - affinity:
- nodeAffinity: {}
- podAffinity: {}
- podAntiAffinity: {}
- containerSecurityContext:
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - ALL
- seccompProfile:
- type: RuntimeDefault
- runAsNonRoot: true
- {{- if not (include "common.compatibility.isOpenshift" .) }}
- runAsGroup: 1001
- runAsUser: 1001
- {{- end }}
- name: pool-0
- nodeSelector: {}
- resources: {}
- securityContext:
- fsGroupChangePolicy: OnRootMismatch
- runAsNonRoot: true
- {{- if not (include "common.compatibility.isOpenshift" .) }}
- fsGroup: 1001
- runAsGroup: 1001
- runAsUser: 1001
- {{- end }}
- servers: 2
- tolerations: []
- topologySpreadConstraints: []
- volumeClaimTemplate:
- apiVersion: v1
- kind: persistentvolumeclaims
- metadata: {}
- spec:
- accessModes:
- - ReadWriteOnce
- resources:
- requests:
- storage: 8Gi
- status: {}
- volumesPerServer: 2
- priorityClassName: ""
- requestAutoCert: true
- serviceMetadata:
- consoleServiceAnnotations: {}
- consoleServiceLabels: {}
- minioServiceAnnotations: {}
- minioServiceLabels: {}
- subPath: ""
- users:
- - name: storage-user
|