fix: rflink on hass

This commit is contained in:
auricom
2021-08-18 16:00:01 +02:00
parent 14ec04123a
commit 5121d98ffb

View File

@@ -34,6 +34,9 @@ spec:
hostNetwork: true hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
securityContext:
privileged: true
service: service:
main: main:
annotations: annotations:
@@ -85,6 +88,12 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: hass-config existingClaim: hass-config
usb:
enabled: true
type: hostPath
hostPath: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5503731323735171A241-if00
hostPathType: CharDevice
mountPath: /dev/ttyUSB0
addons: addons:
codeserver: codeserver:
@@ -114,10 +123,10 @@ spec:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "hass-config.${SECRET_CLUSTER_DOMAIN}" - "hass-config.${SECRET_CLUSTER_DOMAIN}"
secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}" secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /config mountPath: /config
@@ -126,3 +135,10 @@ spec:
requests: requests:
cpu: 500m cpu: 500m
memory: 1000Mi memory: 1000Mi
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- { key: "feature.node.kubernetes.io/custom-rflink", operator: In, values: ["true"] }