-
Notifications
You must be signed in to change notification settings - Fork 56
/
values.yaml
1216 lines (1109 loc) · 37.3 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Default values for puppetserver.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
## Global Values
##
---
global:
runAsNonRoot: false
imagePullSecrets:
curl:
image: curlimages/curl
tag: 8.7.1
imagePullPolicy: IfNotPresent
r10k:
image: puppet/r10k
tag: 3.15.2
imagePullPolicy: IfNotPresent
pgchecker:
image: docker.io/busybox
tag: 1.36
imagePullPolicy: IfNotPresent
puppetdbexporter:
image: camptocamp/prometheus-puppetdb-exporter
tag: 1.1.0
imagePullPolicy: IfNotPresent
jmxexporter:
image: bitnami/jmx-exporter
tag: 0.20.0-debian-12-r13
imagePullPolicy: IfNotPresent
## Credentials for PuppetDB and PostgreSQL
postgresql:
auth:
username: puppetdb
password: unbreakablePassword
postgresPassword: unbreakableAdminPassword
database: puppetdb
existingSecret: ""
secretKeys:
usernameKey: username
userPasswordKey: password
## Define the security context (not apply to all pod for now)
securityContext:
runAsUser: 999 # "puppet" UID
runAsGroup: 999 # "puppet" GID
fsGroup: 999 # "puppet" GID
extraEnv: {}
extraEnvSecret: ""
extraLabels: {}
## Puppet Server Configuration
##
puppetserver:
name: puppetserver
image: ghcr.io/voxpupuli/container-puppetserver
tag: 7.17.0-v1.5.0
pullPolicy: IfNotPresent
## Configure persistence for Puppet Server
persistence:
ca:
## If an existing Persistent Volume Claim needs to be used, specify the name here.
## If not specified the PVC is created by this chart using the informations below or the `storage` values.
existingClaim: ''
## Persistent Volume Access Modes
## Be sure your chosen Storage Class below allows this Access Mode
## If not specified storage.accessModes is taken.
accessModes: []
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If not specified storage.storageClass is taken. See the documentation of storage.storageClass for more details.
storageClass: ""
## Persistent Volume annotations
## If not specified storage.annotations is taken.
annotations: {}
## Size request of the Persistent Volume Claim, of not specified storage.storageClass is taken.
size: ""
code:
## If an existing Persistent Volume Claim needs to be used, specify the name here.
## If not specified the PVC is created by this chart using the informations below or the `storage` values.
existingClaim: ''
## Persistent Volume Access Modes
## Be sure your chosen Storage Class below allows this Access Mode
## If not specified storage.accessModes is taken.
accessModes: []
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If not specified storage.storageClass is taken. See the documentation of storage.storageClass for more details.
storageClass: ""
## Persistent Volume annotations
## If not specified storage.annotations is taken.
annotations: {}
## Size request of the Persistent Volume Claim, of not specified storage.storageClass is taken.
size: ""
data:
## The data of this volume is overwritten on each start, so persistence can be disabled marking
## this variable to false
enabled: true
## If an existing Persistent Volume Claim needs to be used, specify the name here.
## If not specified the PVC is created by this chart using the informations below or the `storage` values.
existingClaim: ''
## Persistent Volume Access Modes
## Be sure your chosen Storage Class below allows this Access Mode
## If not specified storage.accessModes is taken.
accessModes: []
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If not specified storage.storageClass is taken. See the documentation of storage.storageClass for more details.
storageClass: ""
## Persistent Volume annotations
## If not specified storage.annotations is taken.
annotations: {}
## Size request of the Persistent Volume Claim, of not specified storage.storageClass is taken.
size: ""
confd:
## The data of this volume is overwritten on each start, so persistence can be disabled marking
## this variable to false
enabled: true
## If an existing Persistent Volume Claim needs to be used, specify the name here.
## If not specified the PVC is created by this chart using the informations below or the `storage` values.
existingClaim: ''
## Persistent Volume Access Modes
## Be sure your chosen Storage Class below allows this Access Mode
## If not specified storage.accessModes is taken.
accessModes: []
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If not specified storage.storageClass is taken. See the documentation of storage.storageClass for more details.
storageClass: ""
## Persistent Volume annotations
## If not specified storage.annotations is taken.
annotations: {}
## Size request of the Persistent Volume Claim, of not specified storage.storageClass is taken.
size: ""
puppet:
## If an existing Persistent Volume Claim needs to be used, specify the name here.
## If not specified the PVC is created by this chart using the informations below or the `storage` values.
existingClaim: ''
## Persistent Volume Access Modes
## Be sure your chosen Storage Class below allows this Access Mode
## If not specified storage.accessModes is taken.
accessModes: []
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If not specified storage.storageClass is taken. See the documentation of storage.storageClass for more details.
storageClass: ""
## Persistent Volume annotations
## If not specified storage.annotations is taken.
annotations: {}
## Size request of the Persistent Volume Claim, of not specified storage.storageClass is taken.
size: ""
server:
## If an existing Persistent Volume Claim needs to be used, specify the name here.
## If not specified the PVC is created by this chart using the informations below or the `storage` values.
existingClaim: ''
## Persistent Volume Access Modes
## Be sure your chosen Storage Class below allows this Access Mode
## If not specified storage.accessModes is taken.
accessModes: []
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If not specified storage.storageClass is taken. See the documentation of storage.storageClass for more details.
storageClass: ""
## Persistent Volume annotations
## If not specified storage.annotations is taken.
annotations: {}
## Size request of the Persistent Volume Claim, of not specified storage.storageClass is taken.
size: ""
## Mandatory Deployment of Puppet Server Master/s
##
masters:
## Puppet Server Master resource requests and limits
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources: {}
# requests:
# memory: 1024Mi
# cpu: 750m
# limits:
# memory: 2048Mi
# cpu: 1500m
## Affinity for puppetserver pod assignment
## Schedule compilers on different K8s nodes
##
podAntiAffinity: false
podDisruptionBudget:
enabled: false
minAvailable: 1
# maxUnavailable:
networkPolicy:
enabled: false
policyTypes:
- Egress
- Ingress
additionnalIngressRules:
- from:
- namespaceSelector: {}
ports:
- port: 8140
## Extra containers to inject into the Masters pod
extraContainers: []
## Additional Masters' container environment variables
##
extraEnv: {}
# PUPPETSERVER_JAVA_ARGS: "-Xms3072m -Xmx3072m -Dcom.sun.management.jmxremote.port=31000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
## Additional Masters' container environment variables from a pre-existing K8s secret
extraEnvSecret: ""
## Additional Masters' container labels
##
extraLabels: {}
## Puppetserver Masters' deployment annotations
##
annotations: {}
## Puppetserver Masters' pod annotations
##
podAnnotations: {}
updateStrategy:
type: RollingUpdate
# rollingUpdate:
# maxSurge: 20%
# maxUnavailable: 0%
## Puppet Server Master readiness and liveness probe initial delays and timeouts
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
##
readinessProbePeriodSeconds: 60
readinessProbeTimeout: 20
readinessProbeFailureThreshold: 3
readinessProbeSuccessThreshold: 1
livenessProbePeriodSeconds: 30
livenessProbeTimeout: 10
livenessProbeFailureThreshold: 3
livenessProbeSuccessThreshold: 1
startupProbePeriodSeconds: 60
startupProbeFailureThreshold: 30
readinessProbeScheme: HTTPS
## Fully qualified domain names (FQDN's) to register
## the Puppet Server Masters to be internally reachable via DNS.
## That is necessary to configure "certname" and "server" in `puppet.conf`.
## Required by Puppet server CA CLI application.
## "serverName" is pre-set to "puppet".
## "alternateServerNames" is optional and must differ from
## Puppet Server Compilers' "alternateServerNames".
##
fqdns:
alternateServerNames: "" # Comma-separated
## Service for Puppet Server Masters
## The usage of a TCP/Network LB type is strongly preferable
## Please check the `README.md` for more information
##
service:
type: ClusterIP
## The LB type (network protocol) for some cloud providers must be set here.
ports:
puppetserver:
port: 8140
# protocol: TCP
## Exemplary annotations for few cloud providers
annotations: {}
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
# service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
# service.beta.kubernetes.io/azure-load-balancer-internal: "true"
# cloud.google.com/load-balancer-type: "Internal"
# service.kubernetes.io/ibm-load-balancer-cloud-provider-ip-type: "private"
labels: {}
loadBalancerIP: ""
ingress:
## If true, Puppet Server Masters Ingress will be created
##
enabled: false
## Puppet Server Masters Ingress annotations
##
annotations: {}
# kubernetes.io/ingress.class: nginx
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
## Puppet Server Masters Ingress additional labels
##
extraLabels: {}
## Puppet Server Masters Ingress hostnames with optional path
## Must be provided if Ingress is enabled
##
hosts: []
# - puppet.domain.com
# - domain.com/puppet
## Puppet Server Masters Ingress TLS configuration
## Secrets must be manually created in the namespace
##
tls: []
# - secretName: puppet-server-tls
# hosts:
# - puppet.domain.com
## Horizontal Scaling
##
multiMasters:
## Optional deployment of multiple Puppet Server Masters
## NOTE: Must share the same storage volumes
enabled: false
## Horizontal Pod Manual Scaling for Puppet Server Masters
## Set the desired number of Puppet Server Masters
manualScaling:
masters: 1
## Horizontal Pod Autoscaling for Puppet Server Masters
## Automatically scales the number of pods (masters)
## based on observed CPU/memory utilization
## Note that the metrics must be provided by
## additionally deployed metrics server of your choice
autoScaling:
enabled: false
minMasters: 1
maxMasters: 3
cpuUtilizationPercentage: 75
memoryUtilizationPercentage: 75
## enable if a kubernetes CronJob should be backup the puppetserver master pv's
#
backup:
enabled: false
resources: {}
# requests:
# memory: 256Mi
# cpu: 750m
# limits:
# memory: 512Mi
# cpu: 1000m
failedJobsHistoryLimit: 5
successfulJobsHistoryLimit: 2
schedule: "@every 12h"
image: restic/restic
tag: 0.13.1
pullPolicy: IfNotPresent
## Replace ca-certificates.crt with your own CA bundle if needed
##
caConfigMap: ""
## Restric configuration
##
restic:
keep_last: 90 # days
repository: "" # "s3:https://s3.minio.xx/backups/"
access_key_id: "" # s3 access key
secret_access_key: "" # s3 secret access key
password: "" # restic encryption password
## Optional StatefulSet of Puppet Server Compiler/s
##
compilers:
enabled: false
kind: StatefulSet
## Puppet Server Compiler resource requests and limits
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources: {}
# requests:
# memory: 1024Mi
# cpu: 750m
# limits:
# memory: 2048Mi
# cpu: 1500m
## Affinity for puppetserver pod assignment
## Schedule compilers on different K8s nodes
##
podAntiAffinity: false
podDisruptionBudget:
enabled: false
minAvailable: 1
# maxUnavailable:
networkPolicy:
enabled: false
policyTypes:
- Egress
- Ingress
additionnalIngressRules:
- from:
- namespaceSelector: {}
ports:
- port: 8140
additionnalEgressRules: []
## Puppetserver Compilers' StatefulSet annotations
##
annotations: {}
## Puppetserver Compilers' pod annotations
##
podAnnotations: {}
## Extra containers to inject into the Compiler pod
extraContainers: []
## Additional Compilers' container environment variables
##
extraEnv: {}
# PUPPETSERVER_JAVA_ARGS: "-Xms3072m -Xmx3072m -Dcom.sun.management.jmxremote.port=31000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
## Additional Compilers' container environment variables from a pre-existing K8s secret
extraEnvSecret: ""
## Additional Compilers' container labels
##
extraLabels: {}
updateStrategy:
type: RollingUpdate
## Puppet Server Compiler readiness and liveness probe initial delays and timeouts
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
##
readinessProbeScheme: HTTPS
readinessProbePeriodSeconds: 60
readinessProbeTimeout: 20
readinessProbeFailureThreshold: 3
readinessProbeSuccessThreshold: 1
livenessProbePeriodSeconds: 30
livenessProbeTimeout: 10
livenessProbeFailureThreshold: 3
livenessProbeSuccessThreshold: 1
startupProbePeriodSeconds: 15
startupProbeFailureThreshold: 30
## Horizontal Pod Manual Scaling for Puppet Server Compilers
## Set the desired number of Puppet Server Compilers
##
manualScaling:
compilers: 1
## Horizontal Pod Autoscaling for Puppet Server Compilers
## Automatically scales the number of pods (compilers)
## based on observed CPU/memory utilization
## Note that the metrics must be provided by
## additionally deployed metrics server of your choice
autoScaling:
enabled: false
minCompilers: 1
maxCompilers: 3
cpuUtilizationPercentage: 75
memoryUtilizationPercentage: 75
podManagementPolicy: OrderedReady
## Fully qualified domain names (FQDN's) to register
## the Puppet Server Compilers to be internally reachable via DNS.
## That is necessary to configure "certname" and "server" in `puppet.conf`.
## Required by Puppet server CA CLI application.
## "serverName" is pre-set to Compilers' pod names.
## "alternateServerNames" is optional and must differ from
## Puppet Server Masters' "alternateServerNames".
##
fqdns:
alternateServerNames: "" # Comma-separated
## Service for Puppet Server Compilers
## The usage of a TCP/Network LB type is strongly preferable
## Please check the `README.md` for more information
##
service:
type: ClusterIP
## The LB type (network protocol) for some cloud providers must be set here.
ports:
puppetserver:
port: 8140
# protocol: TCP
## Exemplary annotations for few cloud providers
annotations: {}
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
# service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
# service.beta.kubernetes.io/azure-load-balancer-internal: "true"
# cloud.google.com/load-balancer-type: "Internal"
# service.kubernetes.io/ibm-load-balancer-cloud-provider-ip-type: "private"
labels: {}
loadBalancerIP: ""
## Headless service for Puppet Server Compilers
headless:
ports:
https:
port: 443
targetPort: 8140
protocol: TCP
annotations: {}
labels: {}
ingress:
## If true, Puppet Server Compilers Ingress will be created
##
enabled: false
## Puppet Server Compilers Ingress annotations
##
annotations: {}
# kubernetes.io/ingress.class: nginx
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
## Puppet Server Compilers Ingress additional labels
##
extraLabels: {}
## Puppet Server Compilers Ingress hostnames with optional path
## Must be provided if Ingress is enabled
##
hosts: []
# - puppet-compilers.domain.com
# - domain.com/puppet-compilers
## Puppet Server Compilers Ingress TLS configuration
## Secrets must be manually created in the namespace
##
tls: []
# - secretName: puppet-compilers-server-tls
# hosts:
# - puppet-compilers.domain.com
## Use pre-generated Puppet Master certs in `./init/puppet-certs`
## Check README for related use cases
##
preGeneratedCertsJob:
enabled: false
# Defaults to true to remain backwards compatible
importPuppetdb: true
jobDeadline: 300
## Custom puppetserver conf.d configs
##
customconfigs:
enabled: false
configmaps: {}
# auth.conf: |-
# {}
## Custom puppetserver entrypoints
##
customentrypoints:
enabled: false
configmaps: {}
# entry1.sh: |-
# #!/bin/sh
# echo hi
## Optional Secrets to mount in puppetserver container
##
extraSecrets: []
## Optional init arguments
extraInitArgs: ""
## Optional configure serviceAccount & rbac
serviceAccount:
enabled: false
create: false
annotations:
rbac:
create: false
annotations:
psp:
create: false
annotations:
# only if global.runAsNonRoot is false
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
add:
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
- CAP_AUDIT_WRITE
- CAP_FOWNER
- CHOWN
- SETUID
- SETGID
- DAC_OVERRIDE
- AUDIT_WRITE
- FOWNER
## The pattern of managing Hieradata in a separate repository is
## both common and acceptable. Doing so provides the ability to decouple
## the management of configuration data from that of the Puppet code base.
## A separate Hieradata Repo can be included in the "hiera" section in this file.
##
puppeturl: "" # git@github.com:$SOMEUSER/puppet.git
puppetbasedir: /etc/puppetlabs/code/environments
## r10k Repo Configuration
##
r10k:
name: r10k
image: "{{ .Values.global.r10k.image }}"
tag: "{{ .Values.global.r10k.tag }}"
imagePullPolicy: "{{ .Values.global.r10k.imagePullPolicy }}"
asSidecar: true
podSecurityContext:
runAsNonRoot: true
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
updateStrategy:
type: RollingUpdate
code:
resources: {}
# requests:
# memory: 256Mi
# cpu: 200m
# limits:
# memory: 512Mi
# cpu: 300m
command:
- "/bin/sh"
- "-c"
args:
- /etc/puppetlabs/puppet/r10k_code_entrypoint.sh;
cronJob:
enabled: true
schedule: "*/5 * * * *"
splay: false
splayLimit: 60
# timeout: 60
successFile: ~/.r10k_code_cronjob.success
## Additional r10k code container arguments
extraArgs: []
# - --verbose=debug2 # error, warn, notice, info, debug, debug1, debug2
# - --trace
# - --color
## Additional r10k code container environment variables
extraEnv: {}
## Additional r10k code container environment variables from a pre-existing K8s secret
extraEnvSecret: ""
extraSettings: {}
extraRepos: {}
defaultRepoExtraConf: {}
viaHttps:
credentials:
netrc:
## A multi-line string
value: # |
# NETRC CONTENTS
## or set the r10k netrc file
## from a pre-existing K8s secret
## NOTE: Using this secret supercedes all other credentials settings.
existingSecret: ""
customCa:
cert:
## A multi-line string
value: # |
# PEM-encoded custom CA certificates
existingSecret: ""
viaSsh:
credentials:
ssh:
## A multi-line string
value: # |
# PRIV_KEY CONTENTS
known_hosts:
## A multi-line string
value: # |
# KNOWN_HOSTS CONTENTS
## or set the r10k known hosts file and SSH Private Key
## from a pre-existing K8s secret
## NOTE: Using this secret supercedes all other credentials settings.
existingSecret: ""
hiera:
resources: {}
# requests:
# memory: 256Mi
# cpu: 200m
# limits:
# memory: 512Mi
# cpu: 300m
cronJob:
enabled: true
schedule: "*/4 * * * *"
splay: false
splayLimit: 60
# timeout: 60
successFile: ~/.r10k_hiera_cronjob.success
## Additional r10k hiera container environment variables
extraArgs: []
# - --verbose=debug2 # error, warn, notice, info, debug, debug1, debug2
# - --trace
# - --color
## Additional puppetserver hiera container environment variables
extraEnv: {}
## Additional puppetserver hiera container environment variables from a pre-existing K8s secret
extraEnvSecret: ""
extraSettings: {}
extraRepos: {}
defaultRepoExtraConf: {}
viaHttps:
credentials:
netrc:
## A multi-line string
value: # |
# NETRC CONTENTS
## or set the r10k netrc file
## from a pre-existing K8s secret
## NOTE: Using this secret supercedes all other credentials settings.
existingSecret: ""
viaSsh:
credentials:
ssh:
## A multi-line string
value: # |
# PRIV_KEY CONTENTS
known_hosts:
## A multi-line string
value: # |
# KNOWN_HOSTS CONTENTS
## or set the r10k known hosts file and SSH Private Key
## from a pre-existing K8s secret
## NOTE: Using this secret supercedes all other credentials settings.
existingSecret: ""
## PuppetDB Configuration
##
puppetdb:
enabled: true
name: puppetdb
image: ghcr.io/voxpupuli/container-puppetdb
tag: 7.18.0-v1.5.0
pullPolicy: IfNotPresent
resources: {}
# requests:
# memory: 512Mi
# cpu: 500m
# limits:
# memory: 1024Mi
# cpu: 1000m
## Extra containers to inject into the PuppetDB pod
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
add:
- CAP_FOWNER
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
- FOWNER
- CHOWN
- SETUID
- SETGID
- DAC_OVERRIDE
networkPolicy:
enabled: false
policyTypes:
- Egress
- Ingress
additionnalIngressRules:
- from:
- namespaceSelector: {}
ports:
- port: 9090
additionnalEgressRules: []
extraContainers: []
## Extra initContainers to inject into the PuppetDB pod
extraInitContainers: []
## Additional puppetdb container environment variables
extraEnv:
PUPPETDB_JAVA_ARGS: ""
## Additional puppetdb container environment variables from a pre-existing K8s secret
extraEnvSecret: ""
## Additional puppetdb pod labels
##
extraLabels: {}
## puppetdb deployment annotations
##
annotations: {}
## puppetdb pod annotations
##
podAnnotations: {}
updateStrategy:
type: Recreate
## Service for PuppetDB
service:
## The LB type (network protocol) for some cloud providers must be set here.
type: ClusterIP
## Exemplary annotations for few cloud providers
annotations: {}
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
# service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
# service.beta.kubernetes.io/azure-load-balancer-internal: "true"
# cloud.google.com/load-balancer-type: "Internal"
# service.kubernetes.io/ibm-load-balancer-cloud-provider-ip-type: "private"
labels: {}
loadBalancerIP: ""
clusterIP: ""
## Custom puppetdb conf.d configs
##
customconfigs:
enabled: false
configmaps: {}
# auth.conf: |-
# {}
## puppetdb metrics enable/disable flag
metrics:
enabled: false
## Configure persistence for PuppetDB
persistence:
## If an existing Persistent Volume Claim needs to be used, specify the name here.
## If not specified the PVC is created by this chart using the informations below or the `storage` values.
existingClaim: ''
## PuppetDB data Persistent Volume Access Modes
## Be sure your chosen Storage Class below allows this Access Mode
## If not specified storage.accessModes is taken.
accessModes: []
## PuppetDB data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If not specified storage.storageClass is taken. See the documentation of storage.storageClass for more details.
storageClass: ""
## Puppetserver data Persistent Volume annotations
## If not specified storage.annotations is taken.
annotations: {}
## Size request of the Persistent Volume Claim, of not specified storage.storageClass is taken.
size: ""
## Optional configure serviceAccount & rbac
serviceAccount:
enabled: false
create: false
annotations:
rbac:
create: false
annotations:
psp:
create: false
annotations:
## Additional fully qualified domain names (FQDN's) to add
## to the PuppetDB certificates.
fqdns:
alternateServerNames: "" # Comma-separated
## PostgreSQL Sub-Chart Configuration
## Please check: https://github.com/bitnami/charts/tree/master/bitnami/postgresql
##
postgresql:
enabled: true
architecture: standalone
networkPolicy:
enabled: true
egressRules:
denyConnectionsToExternal: true
primary:
initdb:
scriptsConfigMap: "postgresql-custom-extensions"
persistence:
enabled: true
size: 10Gi
annotations:
## The annotation instructs Helm to skip deleting this resource
## when a helm operation (such as helm uninstall, helm upgrade or helm rollback)
## would result in its deletion.
##
helm.sh/resource-policy: keep
## Puppetboard Configuration
##
puppetboard:
enabled: false
name: puppetboard
image: ghcr.io/voxpupuli/puppetboard
tag: 5.4.0
port: 9090
pullPolicy: IfNotPresent
service:
targetPort: puppetboard
resources: {}
# requests:
# memory: 368Mi
# cpu: 300m
# limits:
# memory: 640Mi
# cpu: 500m
## Additional puppetboard container environment variables
##
extraEnv: {}
# ENABLE_CATALOG: True
# ENABLE_QUERY: True
# INVENTORY_FACTS: Hostname,fqdn,IP Address,ipaddress
# GRAPH_FACTS: architecture,puppetversion,osfamily
## Additional puppetboard container environment variables from a pre-existing K8s secret
extraEnvSecret: ""
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
- all
ingress:
## If true, Puppetboard Ingress will be created
##
enabled: false
## Puppetboard Ingress annotations
##
annotations: {}
# kubernetes.io/ingress.class: nginx
## Puppetboard Ingress additional labels
##
extraLabels: {}
## Puppetboard Ingress hostnames with optional path
## Must be provided if Ingress is enabled
##
hosts: []
# - puppetboard.domain.com
# - domain.com/puppetboard
## Puppetboard Ingress TLS configuration
## Secrets must be manually created in the namespace
##
tls: []
# - secretName: puppetboard-server-tls
# hosts:
# - puppetboard.domain.com
## Hiera Configuration for Puppet Server
##
hiera:
name: hiera
hieradataurl: "" # git@github.com:$SOMEUSER/hieradata.git
## A multi-line string
##
config: # |-
## Hiera version 5 Example
##
# ---
# version: 5
# defaults:
# datadir: data # Datadir has moved into `defaults`. Relative to hiera.yaml's directory.
# data_hash: yaml_data # Default backend: New feature in v5.
# hierarchy:
# - name: "Per-node data" # Human-readable name. Can omit `backend` if using the default.
# path:
# - "nodes/%{trusted.certname}.yaml" # File path, relative to datadir. Add file extension!
# - name: "Per-datacenter secret data (encrypted)"
# lookup_key: eyaml_lookup_key
# path: "secrets/%{facts.whereami}.eyaml" # Can use custom facts.
# options:
# pkcs7_private_key: /etc/puppetlabs/puppet/eyaml/keys/private_key.pkcs7.pem # keep unchanged