Victor Lavaud 4 місяців тому
батько
коміт
aaaff18923
1 змінених файлів з 14 додано та 18 видалено
  1. 14 18
      puppet/values.yaml

+ 14 - 18
puppet/values.yaml

@@ -1,32 +1,27 @@
+storage:
+  storageClass: nfs-vrt
 puppetdb:
-  fullname: "puppet.dodges.it"
-  persistence:
-    existingClaim: "ppt-puppetdb-pvc"
+  enabled: true
+  fqdns:
+    alternateServerNames: ["puppet.dodges.it"]
   image: ghcr.io/voxpupuli/container-puppetdb
+  metrics:
+    enabled: true
   extraEnv:
     PUPPETDB_JAVA_ARGS: "-Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -XX:+UseParallelGC -Xloggc:/opt/puppetlabs/server/data/puppetdb/puppetdb_gc.log -Djdk.tls.ephemeralDHKeySize=2048"
+  service:
+    type: ClusterIP
+puppetboard:
+  enabled: false
 puppetserver:
   pullPolicy: Always
   puppeturl: "ssh://git@gogs.dodges.it:31443/qdii/k8s_puppet.git"
-  persistence:
-    ca:
-      existingClaim: "ppt-ca-pvc"
-    code:
-      existingClaim: "ppt-code-pvc"
-    data:
-      existingClaim: "ppt-data-pvc"
-    confd:
-      existingClaim: "ppt-confd-pvc"
-    puppet:
-      existingClaim: "ppt-puppet-pvc"
-    server:
-      existingClaim: "ppt-server-pvc"
   masters:
     fqdns:
       alternateServerNames: "puppet.dodges.it"
     san: "puppet.dodges.it"
     extraEnv:
-      AUTOSIGN: false
+      AUTOSIGN: true
   image: "ghcr.io/voxpupuli/container-puppetserver"
 global:
   postgresql:
@@ -36,7 +31,7 @@ global:
 postgresql:
   primary:
     persistence:
-      existingClaim: "ppt-postgresql-pvc"
+      storageClass: nfs-vrt
     affinity:
       nodeAffinity:
         preferredDuringSchedulingIgnoredDuringExecution:
@@ -110,3 +105,4 @@ affinity:
 metrics:
   prometheus:
     enabled: true
+    port: 9090