- Disable `global.persistence.storageClass` in defaults to use cluster default - Remove redundant commented `mode: 256` line in helm task for clarity
75 lines
1.8 KiB
Django/Jinja
75 lines
1.8 KiB
Django/Jinja
replicaCount: 1
|
|
|
|
image:
|
|
repository: {{ homeassistant_home_assistant.repository }}
|
|
tag: {{ homeassistant_home_assistant.tag }}
|
|
pullPolicy: {{ homeassistant_home_assistant.pullPolicy }}
|
|
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext:
|
|
fsGroup: 2000
|
|
|
|
securityContext:
|
|
runAsUser: 2000
|
|
runAsNonRoot: true
|
|
runAsGroup: 2000
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8123
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
hosts:
|
|
- host: home-assistant.local
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
tls: []
|
|
|
|
resources:
|
|
limits:
|
|
cpu: {{ homeassistant_resources.limits.cpu }}
|
|
memory: {{ homeassistant_resources.limits.memory }}
|
|
requests:
|
|
cpu: {{ homeassistant_resources.requests.cpu }}
|
|
memory: {{ homeassistant_resources.requests.memory }}
|
|
|
|
nodeSelector: {% for key, value in homeassistant_node_selector.items() %}
|
|
{{ key }}: "{{ value }}"{% endfor %}
|
|
|
|
tolerations: {% for item in homeassistant_tolerations %}{{ item | to_json }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
|
|
affinity: {% if homeassistant_affinity | length > 0 %}{{ homeassistant_affinity | to_json }}{% else %}{}{% endif %}
|
|
|
|
persistence:
|
|
enabled: {{ homeassistant_persistence_enabled }}
|
|
storageClass: {{ homeassistant_storage_class }}
|
|
accessMode: {{ homeassistant_persistence_accessMode }}
|
|
size: {{ homeassistant_persistence_size }}
|
|
mountPath: /config
|
|
|
|
env: {% for item in homeassistant_environment %}{{ item | to_json }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
|
|
initContainers: []
|
|
|
|
extraContainers: []
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
targetMemoryUtilizationPercentage: 80
|