Adding pihole via argocd #249
auxworker
started this conversation in
Show and tell
Replies: 1 comment
-
Thanks for the great starting point! I modified it a bit so Argo would use the helm chart instead of the git repository. Which makes it easier for me to set some of the variables - while still getting the same end result. apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: pihole
spec:
destination:
namespace: pihole
server: https://kubernetes.default.svc
project: default
sources:
- repoURL: https://mojo2600.github.io/pihole-kubernetes/
targetRevision: "2.14.0"
chart: pihole
helm:
releaseName: pihole
valueFiles:
- $values/k8s-apps/pihole/values.yaml
- repoURL: https://github.com/KGB33/homelab.git
ref: values
targetRevision: HEAD
path: k8s-apps/pihole/
syncPolicy:
syncOptions:
- CreateNamespace=true Also I noticed that the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have been adding applications into my k3s environment using Argocd, as such, it seems adding every new helm chart into argocd is its own journey. Here is a recipe that works for me.
https://github.com/auxworker/thoughts/blob/main/argocd-pihole-plain.yaml
I noticed unlike the other open source helm charts, I could not use 2.11.0 in targetRevision. I checked the
charts/pihole)/Chart.yaml
file and the version looked fine, not sure why argocd had issues with it, but either way, entering the hash commit , and it picks up on the correct version number.Hope this helps.
Beta Was this translation helpful? Give feedback.
All reactions