1
0
forked from k-space/kube

Clean up operatorlib related stuff

This commit is contained in:
2023-08-16 10:39:20 +03:00
parent 49412781ea
commit af83e1783b
25 changed files with 301 additions and 282 deletions

View File

@@ -1,12 +1,13 @@
---
apiVersion: codemowers.io/v1alpha1
kind: ClusterBucketClass
apiVersion: codemowers.cloud/v1beta1
kind: MinioBucketClass
metadata:
name: external
annotations:
kubernetes.io/description: "External Minio cluster"
spec:
description: "Minio instance running on the ZFS storage box"
targetNamespace: minio-clusters
targetCluster: external
reclaimPolicy: Retain
shared: true
---
apiVersion: v1
kind: Service
@@ -18,8 +19,7 @@ spec:
ports:
- name: http
protocol: TCP
port: 80
targetPort: 9000
port: 9000
type: ExternalName
---
apiVersion: v1
@@ -32,8 +32,7 @@ spec:
ports:
- name: http
protocol: TCP
port: 80
targetPort: 9001
port: 9001
type: ExternalName
---
apiVersion: networking.k8s.io/v1
@@ -48,7 +47,7 @@ metadata:
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
spec:
rules:
- host: minio-cluster-external.k-space.ee
- host: external.minio-clusters.k-space.ee
http:
paths:
- pathType: Prefix
@@ -61,6 +60,7 @@ spec:
tls:
- hosts:
- "*.k-space.ee"
secretName: wildcard-tls
---
apiVersion: networking.k8s.io/v1
kind: Ingress
@@ -74,7 +74,7 @@ metadata:
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
spec:
rules:
- host: minio-cluster-external-console.k-space.ee
- host: external-console.minio-clusters.k-space.ee
http:
paths:
- pathType: Prefix
@@ -87,3 +87,4 @@ spec:
tls:
- hosts:
- "*.k-space.ee"
secretName: wildcard-tls