Skip to content

Commit

Permalink
added enc support and updated readme as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish1099 committed Aug 13, 2024
1 parent 7f02e48 commit 3a1d501
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
8 changes: 8 additions & 0 deletions argocd-helm-charts/puppetserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ kubectl create secret generic hiera-git-secret --dry-run=client --from-file=netr
```sh
kubectl create secret generic puppet-git-secret --dry-run=client --from-file=netrc=./netrc.enableit -o yaml | kubeseal --controller-namespace system --controller-name sealed-secrets --format yaml
```

## Environment name

* Env name gets changed, when using hyphen, so watch out for that

```
Environment "adding-users-in-computer10" contained non-word characters, correcting name to adding_users_in_computer10
```
22 changes: 18 additions & 4 deletions argocd-helm-charts/puppetserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ puppetserver:
masters:
ingress:
enabled: false
customentrypoints:
enabled: true
configmaps: |-
#!/bin/bash
set -e
# Configure puppet to use a certificate autosign script (if it exists)
# AUTOSIGN=true|false|path_to_autosign.conf
if test -n "${PUPPETSERVER_ENC_PATH}" ; then
puppet config set external_nodes "$PUPPETSERVER_ENC_PATH" --section server
fi
r10k:
asSidecar: false
Expand All @@ -15,6 +27,10 @@ puppetserver:
credentials:
existingSecret: puppet-git-secret

hiera:
name: hiera
hieradataurl: ""

postgresql:
enabled: false

Expand All @@ -40,13 +56,11 @@ puppetserver:
jmx:
enabled: false

hiera:
name: hiera
hieradataurl: ""

global:
extraEnv:
AUTOSIGN: /etc/puppetlabs/code/environments/master/puppet_autosign.rb
PUPPET_REPORTS: puppetdb,prometheus
PUPPETSERVER_ENC_PATH: /etc/puppetlabs/code/environments/master/puppet_enc.rb
postgresql:
auth:
existingSecret: puppetserver-pgsql-app
Expand Down

0 comments on commit 3a1d501

Please sign in to comment.