diff --git a/minio/console-deployment.yaml b/minio/console-deployment.yaml new file mode 100644 index 0000000..9467e34 --- /dev/null +++ b/minio/console-deployment.yaml @@ -0,0 +1,45 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: minio-console + namespace: minio + labels: + app: minio-console +spec: + replicas: 1 + selector: + matchLabels: + app: minio-console + template: + metadata: + labels: + app: minio-console + spec: + containers: + - name: console + image: ghcr.io/georgmangold/console:v1.9.1 + ports: + - containerPort: 9090 + name: http + env: + - name: CONSOLE_MINIO_SERVER + value: "http://minio.minio.svc.cluster.local:9000" + resources: + requests: + cpu: 10m + memory: 64Mi + limits: + memory: 128Mi +--- +apiVersion: v1 +kind: Service +metadata: + name: minio-console + namespace: minio +spec: + selector: + app: minio-console + ports: + - port: 9090 + targetPort: 9090 + name: http diff --git a/minio/ingress.yaml b/minio/ingress.yaml index 7f51407..7982176 100644 --- a/minio/ingress.yaml +++ b/minio/ingress.yaml @@ -30,7 +30,6 @@ metadata: namespace: minio annotations: cert-manager.io/cluster-issuer: letsencrypt-prod - traefik.ingress.kubernetes.io/router.middlewares: authelia-authelia-auth@kubernetescrd spec: ingressClassName: traefik tls: @@ -48,7 +47,7 @@ spec: service: name: minio-console port: - number: 9001 + number: 9090 - host: minio0213.kro.kr http: paths: @@ -58,4 +57,4 @@ spec: service: name: minio-console port: - number: 9001 + number: 9090 diff --git a/minio/kustomization.yaml b/minio/kustomization.yaml index 18106ce..30ff5bc 100644 --- a/minio/kustomization.yaml +++ b/minio/kustomization.yaml @@ -5,3 +5,4 @@ resources: - persistent-volumes.yaml - vault/minio-root-password.yaml - ingress.yaml +- console-deployment.yaml