esphome update
This commit is contained in:
@@ -1,12 +1,23 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: esphome
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: esphome
|
||||||
|
app.kubernetes.io/version: 2025.10.4
|
||||||
|
helm.sh/chart: esphome-1.3.4
|
||||||
|
name: esphome
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: esphome
|
app.kubernetes.io/instance: esphome
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: esphome
|
app.kubernetes.io/name: esphome
|
||||||
app.kubernetes.io/version: 1.18.0
|
app.kubernetes.io/version: 2025.10.4
|
||||||
helm.sh/chart: esphome-8.4.2
|
helm.sh/chart: esphome-1.3.4
|
||||||
name: esphome
|
name: esphome
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
@@ -26,9 +37,9 @@ metadata:
|
|||||||
app.kubernetes.io/instance: esphome
|
app.kubernetes.io/instance: esphome
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: esphome
|
app.kubernetes.io/name: esphome
|
||||||
app.kubernetes.io/version: 1.18.0
|
app.kubernetes.io/version: 2025.10.4
|
||||||
helm.sh/chart: esphome-8.4.2
|
helm.sh/chart: esphome-1.3.4
|
||||||
name: esphome-config
|
name: esphome
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
@@ -44,8 +55,8 @@ metadata:
|
|||||||
app.kubernetes.io/instance: esphome
|
app.kubernetes.io/instance: esphome
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: esphome
|
app.kubernetes.io/name: esphome
|
||||||
app.kubernetes.io/version: 1.18.0
|
app.kubernetes.io/version: 2025.10.4
|
||||||
helm.sh/chart: esphome-8.4.2
|
helm.sh/chart: esphome-1.3.4
|
||||||
name: esphome
|
name: esphome
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -55,50 +66,62 @@ spec:
|
|||||||
app.kubernetes.io/instance: esphome
|
app.kubernetes.io/instance: esphome
|
||||||
app.kubernetes.io/name: esphome
|
app.kubernetes.io/name: esphome
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: RollingUpdate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: esphome
|
app.kubernetes.io/instance: esphome
|
||||||
app.kubernetes.io/name: esphome
|
app.kubernetes.io/name: esphome
|
||||||
spec:
|
spec:
|
||||||
automountServiceAccountToken: true
|
|
||||||
containers:
|
containers:
|
||||||
- image: esphome/esphome:2025.8.0
|
- env:
|
||||||
|
- name: ESPHOME_DASHBOARD_USE_PING
|
||||||
|
value: "true"
|
||||||
|
image: esphome/esphome:2025.10.4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 3
|
httpGet:
|
||||||
initialDelaySeconds: 0
|
path: /
|
||||||
periodSeconds: 10
|
port: http
|
||||||
tcpSocket:
|
|
||||||
port: 6052
|
|
||||||
timeoutSeconds: 1
|
|
||||||
name: esphome
|
name: esphome
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 6052
|
- containerPort: 6052
|
||||||
name: http
|
name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
failureThreshold: 3
|
httpGet:
|
||||||
initialDelaySeconds: 0
|
path: /
|
||||||
periodSeconds: 10
|
port: http
|
||||||
tcpSocket:
|
resources: {}
|
||||||
port: 6052
|
securityContext: {}
|
||||||
timeoutSeconds: 1
|
|
||||||
startupProbe:
|
|
||||||
failureThreshold: 30
|
|
||||||
initialDelaySeconds: 0
|
|
||||||
periodSeconds: 5
|
|
||||||
tcpSocket:
|
|
||||||
port: 6052
|
|
||||||
timeoutSeconds: 1
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: config
|
name: config
|
||||||
dnsPolicy: ClusterFirst
|
securityContext: {}
|
||||||
enableServiceLinks: true
|
serviceAccountName: esphome
|
||||||
serviceAccountName: default
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: esphome-config
|
claimName: esphome
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
helm.sh/hook: test
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: esphome
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: esphome
|
||||||
|
app.kubernetes.io/version: 2025.10.4
|
||||||
|
helm.sh/chart: esphome-1.3.4
|
||||||
|
name: esphome-test-connection
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- esphome:6052
|
||||||
|
command:
|
||||||
|
- wget
|
||||||
|
image: busybox
|
||||||
|
name: wget
|
||||||
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ kind: Kustomization
|
|||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: esphome
|
- name: esphome
|
||||||
repo: https://k8s-at-home.com/charts/
|
repo: https://charts.alekc.dev
|
||||||
version: 8.4.2
|
version: 1.3.4
|
||||||
releaseName: esphome
|
releaseName: esphome
|
||||||
includeCRDs: true
|
includeCRDs: true
|
||||||
namespace: esphome
|
namespace: esphome
|
||||||
|
|||||||
@@ -1,48 +1,133 @@
|
|||||||
#
|
# Default values for esphome.
|
||||||
# IMPORTANT NOTE
|
# This is a YAML-formatted file.
|
||||||
#
|
# Declare variables to be passed into your templates.
|
||||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
||||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
replicaCount: 1
|
||||||
#
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
# -- image repository
|
|
||||||
repository: esphome/esphome
|
repository: esphome/esphome
|
||||||
# -- image pull policy
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# -- image tag
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: 2025.8.0
|
tag: ""
|
||||||
|
|
||||||
# -- environment variables.
|
imagePullSecrets: []
|
||||||
# @default -- See below
|
nameOverride: ""
|
||||||
env: {}
|
fullnameOverride: ""
|
||||||
# ESPHOME_DASHBOARD_USE_PING: true
|
|
||||||
# ESPHOME_DASHBOARD_RELATIVE_URL: "/"
|
serviceAccount:
|
||||||
# ESPHOME_QUICKWIZARD:
|
# Specifies whether a service account should be created
|
||||||
# ESPHOME_IS_HASSIO:
|
create: true
|
||||||
# DISABLE_HA_AUTHENTICATION:
|
# Annotations to add to the service account
|
||||||
# USERNAME:
|
annotations: {}
|
||||||
# PASSWORD:
|
# The name of the service account to use.
|
||||||
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
|
name: ""
|
||||||
|
|
||||||
|
podAnnotations: {}
|
||||||
|
|
||||||
|
deployment:
|
||||||
|
# -- Deployment strategy
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
{}
|
||||||
|
# fsGroup: 2000
|
||||||
|
|
||||||
|
securityContext:
|
||||||
|
{}
|
||||||
|
# capabilities:
|
||||||
|
# drop:
|
||||||
|
# - ALL
|
||||||
|
# readOnlyRootFilesystem: true
|
||||||
|
# runAsNonRoot: true
|
||||||
|
# runAsUser: 1000
|
||||||
|
|
||||||
# -- Configures service settings for the chart.
|
|
||||||
# @default -- See values.yaml
|
|
||||||
service:
|
service:
|
||||||
main:
|
type: ClusterIP
|
||||||
ports:
|
port: 6052
|
||||||
http:
|
|
||||||
port: 6052
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
# -- Enable and configure ingress settings for the chart under this key.
|
enabled: false
|
||||||
# @default -- See values.yaml
|
className: ""
|
||||||
main:
|
annotations:
|
||||||
enabled: false
|
{}
|
||||||
|
# kubernetes.io/ingress.class: nginx
|
||||||
|
# kubernetes.io/tls-acme: "true"
|
||||||
|
hosts:
|
||||||
|
- host: chart-example.local
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
tls: []
|
||||||
|
# - secretName: chart-example-tls
|
||||||
|
# hosts:
|
||||||
|
# - chart-example.local
|
||||||
|
|
||||||
|
resources:
|
||||||
|
{}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
|
||||||
|
autoscaling:
|
||||||
|
enabled: false
|
||||||
|
minReplicas: 1
|
||||||
|
maxReplicas: 100
|
||||||
|
targetCPUUtilizationPercentage: 80
|
||||||
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
affinity: {}
|
||||||
|
|
||||||
|
# -- environment values
|
||||||
|
env:
|
||||||
|
# -- simple key: val based env vars
|
||||||
|
simple:
|
||||||
|
ESPHOME_DASHBOARD_USE_PING: true
|
||||||
|
# foo: bar
|
||||||
|
# -- full envs, they will be rendered as written here. Useful if you need to use secrets/cm
|
||||||
|
full: []
|
||||||
|
# - name: esphome
|
||||||
|
# valueFrom:
|
||||||
|
# configMapKeyRef:
|
||||||
|
# key: "my-config"
|
||||||
|
# name: "secret"
|
||||||
|
# optional: false
|
||||||
|
|
||||||
|
annotations:
|
||||||
|
# -- Deployment's annotations
|
||||||
|
deployment: {}
|
||||||
|
|
||||||
# -- Configure persistence settings for the chart under this key.
|
|
||||||
# @default -- See values.yaml
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
enabled: true
|
||||||
enabled: true
|
storageClass: openebs-3-replicas
|
||||||
storageClass: openebs-3-replicas
|
existingClaim: ""
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
# if you need any additional volumes, you can define them here
|
||||||
|
additionalVolumes: []
|
||||||
|
# if you need any additional volume mounts, you can define them here
|
||||||
|
additionalMounts: []
|
||||||
|
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user