This commit is contained in:
Amarpreet Minhas 2023-07-10 17:59:46 +00:00
parent bfa7763096
commit 980dae02e7
3 changed files with 57 additions and 4 deletions

View file

@ -12,7 +12,7 @@ spec:
namespace: {{ .namespace }}
sources:
- repoURL: 'https://git.minhas.io/Asara/k8s.git'
targetRevision: master
targetRevision: main
path: argo/secrets
helm:
valueFiles:
@ -24,10 +24,10 @@ spec:
valueFiles:
- $values/argo/{{ .app }}/values.yaml
- repoURL: 'https://git.minhas.io/Asara/k8s.git'
targetRevision: master
targetRevision: main
ref: values
- repoURL: 'https://git.minhas.io/Asara/k8s.git'
targetRevision: master
targetRevision: main
path: argo/istio-ingress
helm:
valueFiles:

View file

@ -3,7 +3,7 @@ argocd app create apps \
--dest-namespace argocd \
--dest-server https://kubernetes.default.svc \
--repo https://git.minhas.io/asara/k8s \
--revision master \
--revision main \
--self-heal \
--sync-policy auto \
--sync-option CreateNamespace=true \

53
argo/pihole/values.yaml Normal file
View file

@ -0,0 +1,53 @@
---
# internal
name: pihole
namespace: external-dns
externalSecrets:
secretStoreRef: miniflux
secrets:
- secretKey: miniflux_admin_pw
key: miniflux
property: miniflux_admin_pw
- secretKey: miniflux_db_url
key: miniflux
property: miniflux_db_url
istio:
commonName: rss.minhas.io
ingressSelector: ingressgateway
issuer: letsencrypt-prod
port: 80
backendHost: miniflux
sans:
- miniflux.minhas.io
# app config
env:
- name: BASE_URL
value: https://rss.minhas.io
- name: LISTEN_ADDR
value: 0.0.0.0:80
- name: RUN_MIGRATIONS
value: 1
- name: CREATE_ADMIN
value: 1
- name: ADMIN_USERNAME
value: admin
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: miniflux
key: miniflux_db_url
- name: ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: miniflux
key: miniflux_admin_pw
service:
main:
ports:
http:
port: 80
postgresql:
enabled: false