From a08391a819899741d22aeeca12cfab0fc3fffd83 Mon Sep 17 00:00:00 2001
From: Laszlo Rafael <rlacko99@gmail.com>
Date: Sun, 21 Aug 2022 18:40:05 +0200
Subject: [PATCH] Update root-ca-server priorityClass

---
 infra/root-ca-server/templates/nginx.yaml | 1 +
 infra/root-ca-server/values.yaml          | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/infra/root-ca-server/templates/nginx.yaml b/infra/root-ca-server/templates/nginx.yaml
index e421d57..41b0411 100644
--- a/infra/root-ca-server/templates/nginx.yaml
+++ b/infra/root-ca-server/templates/nginx.yaml
@@ -15,6 +15,7 @@ spec:
       labels:
         {{- include "root_ca_server.selectorLabels" . | nindent 8 }}
     spec:
+      priorityClassName: infra-ingress
       containers:
       - name: {{ include "root_ca_server.fullname" . }}
         image: nginx:latest
diff --git a/infra/root-ca-server/values.yaml b/infra/root-ca-server/values.yaml
index 6e9829f..d5111eb 100644
--- a/infra/root-ca-server/values.yaml
+++ b/infra/root-ca-server/values.yaml
@@ -10,13 +10,13 @@ ingress:
   annotations:
     cert-manager.io/cluster-issuer: letsencrypt-prod
     kubernetes.io/ingress.class: nginx
-    kubernetes.io/tls-acme: 'true'
+    kubernetes.io/tls-acme: "true"
   hosts:
     - host: ca.k8s-02.sch.bme.hu
       paths:
         - path: /
           pathType: ImplementationSpecific
   tls:
-   - secretName: cluster-ca-cert
-     hosts:
-       - ca.k8s-02.sch.bme.hu
\ No newline at end of file
+    - secretName: cluster-ca-cert
+      hosts:
+        - ca.k8s-02.sch.bme.hu
-- 
GitLab