feat(prod): Move variables to be used in prod

This commit is contained in:
Tanguy Herbron 2024-11-05 19:13:15 +01:00
parent 18a9ff7770
commit 2ca7ec1f58
3 changed files with 22 additions and 36 deletions

View File

@ -1,23 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: grafana-ingress
namespace: monitoring
annotations:
kubernetes.io/ingress.class: "traefik-inter"
spec:
tls:
- secretName: grafana-beta-tls
hosts:
- grafana.beta.entos
rules:
- host: grafana.beta.entos
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: grafana-svc
port:
number: 80
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`grafana.entos`)
services:
- name: grafana-svc
port: 80

View File

@ -1,23 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: prometheus-ingress
namespace: monitoring
annotations:
kubernetes.io/ingress.class: "traefik-inter"
spec:
tls:
- secretName: prometheus-beta-tls
hosts:
- prometheus.beta.entos
rules:
- host: prometheus.beta.entos
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prometheus-svc
port:
number: 9090
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`prometheus.entos`)
services:
- name: prometheus-svc
port: 80

View File

@ -8,8 +8,8 @@ metadata:
spec:
project: default
source:
repoURL: https://git.halis.io/athens-school/k3s-secrets.git
targetRevision: dev
repoURL: https://git.halia.dev/athens-school/k3s-secrets.git
targetRevision: prod-migration
path: monitoring
syncPolicy:
automated: