Skip to content

Commit

Permalink
added puppeturl and secret to access the puppet git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish1099 committed Aug 9, 2024
1 parent a0bf987 commit 967e92d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions argocd-helm-charts/puppetserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@
## Eyaml secret

* Secret name needs to be **eyaml-volume**

## Secret setup to access puppet and hieradata git repo

* Create hiera repo secret

```sh
kubectl create secret generic hiera-repo-secret --dry-run=client --from-literal=known_hosts='|1|NHSERmAKuZlYI4g= ssh-ed25519 AAAAC3NzaC1lZDkHxUc' --from-file=id_rsa=/path/to/ssh_priv.key -o yaml | kubeseal --controller-namespace system --controller-name sealed-secrets --format yaml
```

* Create puppet repo secret

```sh
kubectl create secret generic hiera-repo-secret --dry-run=client --from-literal=known_hosts='|1|NHSERmAKuZlYI4g= ssh-ed25519 AAAAC3NzaC1lZDkHxUc' --from-file=id_rsa=/path/to/ssh_priv.key -o yaml | kubeseal --controller-namespace system --controller-name sealed-secrets --format yaml
```
4 changes: 2 additions & 2 deletions argocd-helm-charts/puppetserver/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
puppetserver:
puppetserver:
puppeturl:
name: puppetserver
image: ghcr.io/voxpupuli/container-puppetserver
tag: 7.13.0
Expand All @@ -11,7 +10,8 @@ puppetserver:

r10k:
viaSsh:
existingSecret:
existingSecret: puppet-git-secret

postgresql:
enabled: false

Expand Down

0 comments on commit 967e92d

Please sign in to comment.