prepare s3 for https
This commit is contained in:
@@ -9,6 +9,7 @@ spec:
|
|||||||
- dubyatp.xyz
|
- dubyatp.xyz
|
||||||
- '*.dubyatp.xyz'
|
- '*.dubyatp.xyz'
|
||||||
- '*.infra.dubyatp.xyz'
|
- '*.infra.dubyatp.xyz'
|
||||||
|
- "*.weyma-s3.infra.dubyatp.xyz"
|
||||||
issuerRef:
|
issuerRef:
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
name: letsencrypt-dubyatp-xyz
|
name: letsencrypt-dubyatp-xyz
|
||||||
|
|||||||
11
system-apps/rook-ceph/storage/object/cert-dubyatp-xyz.yaml
Normal file
11
system-apps/rook-ceph/storage/object/cert-dubyatp-xyz.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: cert-dubyatp-xyz
|
||||||
|
annotations:
|
||||||
|
replicator.v1.mittwald.de/replicate-from: cert-manager/cert-dubyatp-xyz
|
||||||
|
replicator.v1.mittwald.de/replicated-keys: tls.crt,tls.key
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
tls.crt: ""
|
||||||
|
tls.key: ""
|
||||||
32
system-apps/rook-ceph/storage/object/ingress.yaml
Normal file
32
system-apps/rook-ceph/storage/object/ingress.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: weyma-s3-ingress
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: "weyma-s3.infra.dubyatp.xyz"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: rook-ceph-rgw-weyma-s3
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|
||||||
|
- host: "*.weyma-s3.infra.dubyatp.xyz"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: rook-ceph-rgw-weyma-s3
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
tls:
|
||||||
|
- secretName: cert-dubyatp-xyz
|
||||||
|
hosts:
|
||||||
|
- weyma-s3.infra.dubyatp.xyz
|
||||||
|
- "*.weyma-s3.infra.dubyatp.xyz"
|
||||||
Reference in New Issue
Block a user