Created
June 18, 2021 05:15
-
-
Save hyperbolic2346/6509b65de17e8e9713d409ce93dadc64 to your computer and use it in GitHub Desktop.
home assistant helm upgrade failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Helm upgrade failed: template: home-assistant/templates/common.yaml:1:3: executing \"home-assistant/templates/common.yaml\" at <include \"common.all\" .>: error calling include: template: home-assistant/charts/common/templates/_all.tpl:10:8: executing \"common.all\" at <include \"common.addon.codeserver\" .>: error calling include: template: home-assistant/charts/common/templates/addons/code-server/_codeserver.tpl:47:8: executing \"common.addon.codeserver\" at <include \"common.classes.ingress\" $>: error calling include: template: home-assistant/charts/common/templates/classes/_ingress.tpl:20:46: executing \"common.classes.ingress\" at <include \"common.service.primary\" .>: error calling include: template: home-assistant/charts/common/templates/_service.tpl:27:19: executing \"common.service.primary\" at <$service.enabled>: can't evaluate field enabled in type interface {}"} | |
yaml | |
--- | |
apiVersion: helm.toolkit.fluxcd.io/v2beta1 | |
kind: HelmRelease | |
metadata: | |
name: home-assistant | |
namespace: home | |
spec: | |
interval: 10m | |
chart: | |
spec: | |
# renovate: registryUrl=https://k8s-at-home.com/charts/ | |
chart: home-assistant | |
version: 9.2.0 | |
sourceRef: | |
kind: HelmRepository | |
name: k8s-at-home-charts | |
namespace: flux-system | |
values: | |
image: | |
repository: homeassistant/home-assistant | |
tag: 2021.6.5 | |
persistence: | |
config: | |
enabled: true | |
size: 10Gi | |
storageClass: "rook-ceph-block-ssd" | |
skipuninstall: true | |
ingress: | |
main: | |
enabled: true | |
annotations: | |
kubernetes.io/tls-acme: "true" | |
kubernetes.io/ingress.class: "nginx" | |
nginx.ingress.kubernetes.io/auth-url: "http://oauth2-proxy.kube-system.svc.cluster.local/oauth2/auth" | |
nginx.ingress.kubernetes.io/auth-signin: "https://auth.mydomain.com/oauth2/start" | |
cert-manager.io/cluster-issuer: letsencrypt-prod | |
path: / | |
hosts: | |
- host: hass.mydomain.com | |
paths: | |
- path: / | |
pathType: Prefix | |
tls: | |
- secretName: home-assistant.cert | |
hosts: | |
- hass.mydomain.com | |
service: | |
type: ClusterIP | |
hostNetwork: false | |
probes: | |
liveness: | |
enabled: true | |
readiness: | |
enabled: true | |
podAnnotations: | |
backup.velero.io/backup-volumes: config | |
resources: | |
limits: | |
memory: 2500Mi | |
hugepages-2Mi: 500Mi | |
cpu: 2000m | |
requests: | |
cpu: 500m | |
memory: 2000Mi | |
hugepages-2Mi: 500Mi | |
monitoring: | |
enabled: false | |
postgresql: | |
enabled: true | |
postgresqlPassword: "secret" | |
global: | |
postgresql: | |
postgresqlUsername: home-assistant | |
postgresqlDatabase: home-assistant | |
persistence: | |
enabled: true | |
storageClass: "rook-ceph-block-hdd" | |
skipuninstall: true | |
extraVolumeMounts: | |
- name: hugepages | |
mountPath: /dev/hugepages | |
extraVolumes: | |
- name: hugepages | |
emptyDir: | |
medium: HugePages-2Mi | |
resources: | |
limits: | |
memory: 1Gi | |
hugepages-2Mi: 500Mi | |
requests: | |
hugepages-2Mi: 500Mi | |
memory: 512Mi | |
addons: | |
codeserver: | |
enabled: true | |
image: | |
repository: codercom/code-server | |
tag: 3.10.2 | |
workingDir: "/config" | |
args: | |
- --auth | |
- "none" | |
- --user-data-dir | |
- "/config/.vscode" | |
- --extensions-dir | |
- "/config/.vscode" | |
ingress: | |
enabled: true | |
annotations: | |
kubernetes.io/tls-acme: "true" | |
kubernetes.io/ingress.class: "nginx" | |
nginx.ingress.kubernetes.io/auth-url: "http://oauth2-proxy.kube-system.svc.cluster.local/oauth2/auth" | |
nginx.ingress.kubernetes.io/auth-signin: "https://auth.mydomain.com/oauth2/start" | |
cert-manager.io/cluster-issuer: letsencrypt-prod | |
hosts: | |
- host: hass-code.mydomain.com | |
paths: | |
- path: / | |
pathType: Prefix | |
tls: | |
- hosts: | |
- hass-code.mydomain.com | |
volumeMounts: | |
- name: config | |
mountPath: /config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment