runtime-parameters.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # Adding an extra initial delay to avoid race conditions with the
  2. # deployment and goss stages
  3. readinessProbe:
  4. initialDelaySeconds: 30
  5. extraDeploy:
  6. # Taken from https://github.com/minio/operator/tree/master/examples
  7. - |
  8. apiVersion: v1
  9. kind: Secret
  10. metadata:
  11. name: storage-configuration
  12. namespace: {{ include "common.names.namespace" . | quote }}
  13. stringData:
  14. config.env: |-
  15. export MINIO_ROOT_USER="minio"
  16. export MINIO_ROOT_PASSWORD="minio123"
  17. export MINIO_STORAGE_CLASS_STANDARD="EC:2"
  18. export MINIO_BROWSER="on"
  19. export NAMESPACE={{ include "common.names.namespace" . | quote }}
  20. type: Opaque
  21. - |
  22. apiVersion: v1
  23. stringData:
  24. CONSOLE_ACCESS_KEY: console
  25. CONSOLE_SECRET_KEY: console123
  26. kind: Secret
  27. metadata:
  28. name: storage-user
  29. namespace: {{ include "common.names.namespace" . | quote }}
  30. type: Opaque
  31. - |
  32. apiVersion: v1
  33. kind: ServiceAccount
  34. metadata:
  35. name: vib-service-account
  36. namespace: {{ include "common.names.namespace" . | quote }}
  37. {{ include "minio-operator.imagePullSecrets" . }}
  38. - |
  39. apiVersion: minio.min.io/v2
  40. kind: Tenant
  41. metadata:
  42. labels:
  43. app: minio
  44. name: vib-minio
  45. namespace: {{ include "common.names.namespace" . | quote }}
  46. spec:
  47. serviceAccountName: vib-service-account
  48. certConfig: {}
  49. configuration:
  50. name: storage-configuration
  51. env: []
  52. externalCaCertSecret: []
  53. externalCertSecret: []
  54. externalClientCertSecrets: []
  55. features:
  56. bucketDNS: false
  57. domains: {}
  58. mountPath: /export
  59. podManagementPolicy: Parallel
  60. pools:
  61. - affinity:
  62. nodeAffinity: {}
  63. podAffinity: {}
  64. podAntiAffinity: {}
  65. containerSecurityContext:
  66. allowPrivilegeEscalation: false
  67. capabilities:
  68. drop:
  69. - ALL
  70. seccompProfile:
  71. type: RuntimeDefault
  72. runAsNonRoot: true
  73. {{- if not (include "common.compatibility.isOpenshift" .) }}
  74. runAsGroup: 1001
  75. runAsUser: 1001
  76. {{- end }}
  77. name: pool-0
  78. nodeSelector: {}
  79. resources: {}
  80. securityContext:
  81. fsGroupChangePolicy: OnRootMismatch
  82. runAsNonRoot: true
  83. {{- if not (include "common.compatibility.isOpenshift" .) }}
  84. fsGroup: 1001
  85. runAsGroup: 1001
  86. runAsUser: 1001
  87. {{- end }}
  88. servers: 2
  89. tolerations: []
  90. topologySpreadConstraints: []
  91. volumeClaimTemplate:
  92. apiVersion: v1
  93. kind: persistentvolumeclaims
  94. metadata: {}
  95. spec:
  96. accessModes:
  97. - ReadWriteOnce
  98. resources:
  99. requests:
  100. storage: 8Gi
  101. status: {}
  102. volumesPerServer: 2
  103. priorityClassName: ""
  104. requestAutoCert: true
  105. serviceMetadata:
  106. consoleServiceAnnotations: {}
  107. consoleServiceLabels: {}
  108. minioServiceAnnotations: {}
  109. minioServiceLabels: {}
  110. subPath: ""
  111. users:
  112. - name: storage-user