diff --git a/minio/helm-minio.yaml b/minio/helm-minio-operator.yaml similarity index 100% rename from minio/helm-minio.yaml rename to minio/helm-minio-operator.yaml diff --git a/minio/helm-minio-tenant.yaml b/minio/helm-minio-tenant.yaml new file mode 100644 index 0000000..90bb272 --- /dev/null +++ b/minio/helm-minio-tenant.yaml @@ -0,0 +1,28 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: minio + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + selfHeal: true + prune: true + project: default + sources: + - chart: tenant + repoURL: https://operator.min.io + targetRevision: 6.0.3 + helm: + valueFiles: + - $values/minio/values.yaml + - repoURL: https://github.com/rubenhensen/k8scd.git + targetRevision: HEAD + ref: values + destination: + server: https://kubernetes.default.svc + namespace: minio \ No newline at end of file diff --git a/minio/values.yaml b/minio/values.yaml index 520d6e0..f501dda 100644 --- a/minio/values.yaml +++ b/minio/values.yaml @@ -1,18 +1,37 @@ console: - ingress: - enabled: true - ingressClassName: nginx - labels: { } - annotations: - cert-manager.io/cluster-issuer: prod-cluster-issuer - nginx.ingress.kubernetes.io/ssl-passthrough: "true" - nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" - tls: - # TLS secretName used on ClusterIssuer - - secretName: letsencrypt-prod - hosts: - - minio.hensen.io + api: + ingress: + enabled: true + ingressClassName: nginx + labels: { } + annotations: + cert-manager.io/cluster-issuer: prod-cluster-issuer + nginx.ingress.kubernetes.io/ssl-passthrough: "true" + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + tls: + # TLS secretName used on ClusterIssuer + - secretName: letsencrypt-prod + hosts: + - minio.hensen.io - host: minio.hensen.io - path: / - pathType: Prefix \ No newline at end of file + host: minio.hensen.io + path: / + pathType: Prefix + console: + ingress: + enabled: true + ingressClassName: nginx + labels: { } + annotations: + cert-manager.io/cluster-issuer: prod-cluster-issuer + nginx.ingress.kubernetes.io/ssl-passthrough: "true" + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + tls: + # TLS secretName used on ClusterIssuer + - secretName: letsencrypt-prod + hosts: + - minio-console.hensen.io + + host: minio-console.hensen.io + path: / + pathType: Prefix \ No newline at end of file