aboutsummaryrefslogtreecommitdiff
path: root/cmd/mi/manifest.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mi/manifest.yaml')
-rw-r--r--cmd/mi/manifest.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/cmd/mi/manifest.yaml b/cmd/mi/manifest.yaml
index 8b010ca..f1dec5e 100644
--- a/cmd/mi/manifest.yaml
+++ b/cmd/mi/manifest.yaml
@@ -106,6 +106,45 @@ spec:
name: metrics
type: ClusterIP
---
+apiVersion: onepassword.com/v1
+kind: OnePasswordItem
+metadata:
+ name: public-http-auth
+ namespace: mi
+spec:
+ itemPath: "vaults/lc5zo4zjz3if3mkeuhufjmgmui/items/4ytaobocixjfaoje7rhrtidg4m"
+---
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ name: mi-public
+ namespace: mi
+ labels:
+ app.kubernetes.io/name: mi
+ annotations:
+ cert-manager.io/cluster-issuer: "letsencrypt-prod"
+ nginx.ingress.kubernetes.io/auth-type: basic
+ nginx.ingress.kubernetes.io/auth-secret: public-http-auth
+ nginx.ingress.kubernetes.io/auth-realm: "Authentication Required"
+ nginx.ingress.kubernetes.io/ssl-redirect: "true"
+spec:
+ ingressClassName: nginx
+ tls:
+ - hosts:
+ - mi.cetacean.club
+ secretName: mi-public-tls
+ rules:
+ - host: mi.cetacean.club
+ http:
+ paths:
+ - pathType: Prefix
+ path: "/"
+ backend:
+ service:
+ name: mi
+ port:
+ name: http
+---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata: