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 repoURL: https://charts.external-secrets.io
chart: external-secrets chart: external-secrets
revision: 0.9.1 revision: 0.9.1
- app: pihole
namespace: external-dns
repoURL: https://mojo2600.github.io/pihole-kubernetes/
chart: pihole
revision: 2.17.0
- app: prometheus - app: prometheus
namespace: prometheus namespace: prometheus
repoURL: https://prometheus-community.github.io/helm-charts repoURL: https://prometheus-community.github.io/helm-charts

View file

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

View file

@ -2,52 +2,37 @@
# internal # internal
name: pihole name: pihole
namespace: external-dns namespace: external-dns
serviceAccountName: external-dns
externalSecrets: externalSecrets:
secretStoreRef: miniflux secretStoreRef: default
secrets: secrets:
- secretKey: miniflux_admin_pw - secretKey: pihole-password
key: miniflux key: external-dns
property: miniflux_admin_pw property: pihole-password
- 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 # app
env: serviceDns:
- name: BASE_URL mixedService: true
value: https://rss.minhas.io type: LoadBalancer
- name: LISTEN_ADDR loadBalancerIP: 192.168.0.220
value: 0.0.0.0:80 annotations:
- name: RUN_MIGRATIONS metallb.universe.tf/allow-shared-ip: pihole
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: serviceWeb:
main: loadBalancerIP: 192.168.0.220
ports: annotations:
http: metallb.universe.tf/allow-shared-ip: pihole
port: 80 type: LoadBalancer
postgresql: serviceDhcp:
enabled: false 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 name: system:auth-delegator
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ .Values.name }} name: {{ .Values.serviceAccountName }}
namespace: {{ .Values.namespace }}
- kind: ServiceAccount
name: default
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
... ...
--- ---