2021-10-16 06:31:19 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2021-06-14 13:35:06 +00:00
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: grafana
|
2021-10-24 10:36:31 +00:00
|
|
|
namespace: auth-proxy
|
2021-06-14 13:35:06 +00:00
|
|
|
labels:
|
|
|
|
app: grafana
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
2021-10-16 08:46:06 +00:00
|
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
2021-06-14 13:35:06 +00:00
|
|
|
spec:
|
2021-10-16 08:46:06 +00:00
|
|
|
ingressClassName: nginx
|
2021-06-14 13:35:06 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- grafana.cluster.fun
|
|
|
|
secretName: grafana-ingress
|
|
|
|
rules:
|
|
|
|
- host: grafana.cluster.fun
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
2021-10-16 06:31:19 +00:00
|
|
|
pathType: ImplementationSpecific
|
2021-06-14 13:35:06 +00:00
|
|
|
backend:
|
2021-10-16 06:31:19 +00:00
|
|
|
service:
|
|
|
|
name: auth-proxy
|
|
|
|
port:
|
|
|
|
number: 80
|
2021-06-14 13:35:06 +00:00
|
|
|
---
|
2021-10-16 06:31:19 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2021-06-14 13:35:06 +00:00
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: prometheus
|
2021-10-24 10:36:31 +00:00
|
|
|
namespace: auth-proxy
|
2021-06-14 13:35:06 +00:00
|
|
|
labels:
|
|
|
|
app: prometheus
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
2021-10-16 08:46:06 +00:00
|
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
2021-06-14 13:35:06 +00:00
|
|
|
spec:
|
2021-10-16 08:46:06 +00:00
|
|
|
ingressClassName: nginx
|
2021-06-14 13:35:06 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- prometheus.cluster.fun
|
|
|
|
secretName: prometheus-ingress
|
|
|
|
rules:
|
|
|
|
- host: prometheus.cluster.fun
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
2021-10-16 06:31:19 +00:00
|
|
|
pathType: ImplementationSpecific
|
2021-06-14 13:35:06 +00:00
|
|
|
backend:
|
2021-10-16 06:31:19 +00:00
|
|
|
service:
|
|
|
|
name: auth-proxy
|
|
|
|
port:
|
|
|
|
number: 80
|
2021-06-14 14:47:46 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: prometheus-credentials
|
2021-06-14 15:47:45 +00:00
|
|
|
namespace: monitoring
|
2021-06-14 14:47:46 +00:00
|
|
|
annotations:
|
2021-06-14 16:00:34 +00:00
|
|
|
kube-1password: m7c2n5gqybiyxj6ylydju2nljm
|
2021-06-14 14:47:46 +00:00
|
|
|
kube-1password/vault: Kubernetes
|
2021-11-27 13:35:19 +00:00
|
|
|
kube-1password/password-key: auth
|
2021-06-14 14:47:46 +00:00
|
|
|
type: Opaque
|
|
|
|
---
|
2021-10-16 06:31:19 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2021-06-14 14:47:46 +00:00
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: prometheus-cloud
|
|
|
|
namespace: monitoring
|
|
|
|
labels:
|
|
|
|
app: prometheus-cloud
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
2021-10-16 08:46:06 +00:00
|
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
2021-11-27 13:35:19 +00:00
|
|
|
nginx.ingress.kubernetes.io/auth-type: basic
|
|
|
|
nginx.ingress.kubernetes.io/auth-secret: prometheus-credentials
|
2021-11-27 14:14:58 +00:00
|
|
|
nginx.ingress.kubernetes.io/auth-secret-type: auth-file
|
2021-06-14 14:47:46 +00:00
|
|
|
spec:
|
2021-10-16 08:46:06 +00:00
|
|
|
ingressClassName: nginx
|
2021-06-14 14:47:46 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- prometheus-cloud.cluster.fun
|
|
|
|
secretName: prometheus-cloud-ingress
|
|
|
|
rules:
|
|
|
|
- host: prometheus-cloud.cluster.fun
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
2021-10-16 06:31:19 +00:00
|
|
|
pathType: ImplementationSpecific
|
2021-06-14 14:47:46 +00:00
|
|
|
backend:
|
2021-10-16 06:31:19 +00:00
|
|
|
service:
|
|
|
|
name: prometheus-server
|
|
|
|
port:
|
|
|
|
number: 80
|