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 apiVersion: traefik.containo.us/v1alpha1
kind: Ingress kind: IngressRoute
metadata: metadata:
name: grafana-ingress name: grafana-ingress
namespace: monitoring namespace: monitoring
annotations: annotations:
kubernetes.io/ingress.class: "traefik-inter" kubernetes.io/ingress.class: "traefik-inter"
spec: spec:
tls: entryPoints:
- secretName: grafana-beta-tls - websecure
hosts: routes:
- grafana.beta.entos - kind: Rule
rules: match: Host(`grafana.entos`)
- host: grafana.beta.entos services:
http: - name: grafana-svc
paths: port: 80
- path: /
pathType: Prefix
backend:
service:
name: grafana-svc
port:
number: 80

View File

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

View File

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