Skip to content

Commit

Permalink
Properly splitting the config
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryGF committed Aug 15, 2023
1 parent 564cab6 commit 093ca6b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 80 deletions.
48 changes: 0 additions & 48 deletions argocd/home-assistant/values.common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,6 @@ home-assistant:
# securityContext:
# runAsUser: 0

ingress:
main:
ingressClassName: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.entrypoints: websecure
enabled: true
hosts:
- host: "ha.${duckdns_domain}.duckdns.org"
paths:
- path: /
tls:
- hosts:
- "ha.${duckdns_domain}.duckdns.org"
secretName: tls-ha-ingress

hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
Expand All @@ -68,41 +53,8 @@ home-assistant:
# hostPath: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2434151-if00
# mountPath: /dev/ttyUSB0

nodeSelector:
# kubernetes.io/hostname: ${master_hostname}
kubernetes.io/arch : amd64


securityContext:
privileged: true

addons:
codeserver:
image:
repository: codercom/code-server
tag: 4.11.0
enabled: true
ingress:
enabled: true
annotations:
cert-manager.io/issuer: letsencrypt
hosts:
- host: code.ha.${duckdns_domain}.duckdns.org
paths:
- path: /
tls:
- secretName: tls-code-ha-ingress
hosts:
- code.ha.${duckdns_domain}.duckdns.org

args:
- --auth
- none
- --user-data-dir
- "/config/.vscode"

workingDir: "/config"

volumeMounts:
- name: config
mountPath: /config
Original file line number Diff line number Diff line change
@@ -1,35 +1,50 @@
grafana:
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
url: http://prometheus-prometheus:9090
access: proxy
isDefault: true
- name: Alertmanager
type: alertmanager
url: http://prometheus-alertmanager:9093
access: proxy
jsonData:
implementation: prometheus
handleGrafanaManagedAlerts: false
- name: Loki
type: loki
access: proxy
url: http://loki-gateway
jsonData:
maxLines: 1000
home-assistant:
ingress:
main:
ingressClassName: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.entrypoints: websecure
enabled: true
hosts:
- host: "ha.${duckdns_domain}.duckdns.org"
paths:
- path: /
tls:
- hosts:
- "ha.${duckdns_domain}.duckdns.org"
secretName: tls-ha-ingress

nodeSelector:
kubernetes.io/hostname: ${master_hostname}

grafana.ini:
auth.anonymous:
addons:
codeserver:
image:
repository: codercom/code-server
tag: 4.11.0
enabled: true
org_name: Main Org.
org_role: Admin
panels:
disable_sanitize_html: true
ingress:
enabled: true
annotations:
cert-manager.io/issuer: letsencrypt
hosts:
- host: code.ha.${duckdns_domain}.duckdns.org
paths:
- path: /
tls:
- secretName: tls-code-ha-ingress
hosts:
- code.ha.${duckdns_domain}.duckdns.org

args:
- --auth
- none
- --user-data-dir
- "/config/.vscode"

workingDir: "/config"

persistence:
enabled: true
existingClaim: grafana-config
volumeMounts:
- name: config
mountPath: /config

0 comments on commit 093ca6b

Please sign in to comment.