some minor fixes

This commit is contained in:
Amarpreet Minhas 2023-07-10 18:15:11 +00:00
parent 46a0189a89
commit 4ca9a17edc
4 changed files with 38 additions and 45 deletions

View file

@ -10,6 +10,11 @@ helmApps:
repoURL: https://charts.external-secrets.io
chart: external-secrets
revision: 0.9.1
- app: pihole
namespace: external-dns
repoURL: https://mojo2600.github.io/pihole-kubernetes/
chart: pihole
revision: 2.17.0
- app: prometheus
namespace: prometheus
repoURL: https://prometheus-community.github.io/helm-charts

View file

@ -2,7 +2,7 @@
# internal
name: miniflux
namespace: miniflux
serviceAccountName: default
serviceAccountName: miniflux
externalSecrets:
secretStoreRef: miniflux
secrets:

View file

@ -2,52 +2,37 @@
# internal
name: pihole
namespace: external-dns
serviceAccountName: external-dns
externalSecrets:
secretStoreRef: miniflux
secretStoreRef: default
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
- secretKey: pihole-password
key: external-dns
property: pihole-password
# 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
# app
serviceDns:
mixedService: true
type: LoadBalancer
loadBalancerIP: 192.168.0.220
annotations:
metallb.universe.tf/allow-shared-ip: pihole
service:
main:
ports:
http:
port: 80
serviceWeb:
loadBalancerIP: 192.168.0.220
annotations:
metallb.universe.tf/allow-shared-ip: pihole
type: LoadBalancer
postgresql:
serviceDhcp:
enabled: false
DNS1: "192.168.0.1"
DNS2: "192.168.0.1"
podDnsConfig:
enabled: false
admin:
existingSecret: pihole
passwordKey: pihole-password

View file

@ -33,7 +33,10 @@ roleRef:
name: system:auth-delegator
subjects:
- kind: ServiceAccount
name: {{ .Values.name }}
name: {{ .Values.serviceAccountName }}
namespace: {{ .Values.namespace }}
- kind: ServiceAccount
name: default
namespace: {{ .Values.namespace }}
...
---