mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[home-assistant] Remove git.deployKey (#801)
* [home-assistant] Remove git.deployKey Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev> * Update README Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev> * Update chart dependency
This commit is contained in:
parent
c2a637717d
commit
fef3ebedfd
@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: 2021.3.4
|
||||
appVersion: 2021.4.4
|
||||
description: Home Assistant
|
||||
name: home-assistant
|
||||
version: 7.5.1
|
||||
version: 8.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- home-assistant
|
||||
|
@ -1,6 +1,6 @@
|
||||
# home-assistant
|
||||
|
||||
![Version: 7.3.0](https://img.shields.io/badge/Version-7.3.0-informational?style=flat-square) ![AppVersion: 2021.3.4](https://img.shields.io/badge/AppVersion-2021.3.4-informational?style=flat-square)
|
||||
![Version: 8.0.0](https://img.shields.io/badge/Version-8.0.0-informational?style=flat-square) ![AppVersion: 2021.4.4](https://img.shields.io/badge/AppVersion-2021.4.4-informational?style=flat-square)
|
||||
|
||||
Home Assistant
|
||||
|
||||
@ -23,7 +23,7 @@ Kubernetes: `>=1.16.0-0`
|
||||
| https://charts.bitnami.com/bitnami | influxdb | 1.1.9 |
|
||||
| https://charts.bitnami.com/bitnami | mariadb | 9.3.6 |
|
||||
| https://charts.bitnami.com/bitnami | postgresql | 10.3.15 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.2.0 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.3.1 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@ -127,11 +127,9 @@ The value derived is the name of the kubernetes service object for home-assistan
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | `{}` | |
|
||||
| git.deployKey | string | `""` | |
|
||||
| git.deployKeyBase64 | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"homeassistant/home-assistant"` | |
|
||||
| image.tag | string | `"2021.3.4"` | |
|
||||
| image.tag | string | `"2021.4.4"` | |
|
||||
| influxdb.architecture | string | `"standalone"` | |
|
||||
| influxdb.authEnabled | bool | `false` | |
|
||||
| influxdb.database | string | `"home_assistant"` | |
|
||||
@ -163,6 +161,16 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [8.0.0]
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated image tag to version 2021.4.4.
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed support for specifying git Deploykey directly from this chart. This feature has been moved to the [codeserver add-on](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#code-server).
|
||||
|
||||
## [5.0.0]
|
||||
|
||||
### Changed
|
||||
@ -217,6 +225,8 @@ Any pre-existing StatefulSet will have to be removed before upgrading due to a n
|
||||
|
||||
This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face:
|
||||
|
||||
[8.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-8.0.0/charts/home-assistant
|
||||
|
||||
[5.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-5.0.0/charts/home-assistant
|
||||
|
||||
[4.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-4.0.0/charts/home-assistant
|
||||
|
@ -10,6 +10,16 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [8.0.0]
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated image tag to version 2021.4.4.
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed support for specifying git Deploykey directly from this chart. This feature has been moved to the [codeserver add-on](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#code-server).
|
||||
|
||||
## [5.0.0]
|
||||
|
||||
### Changed
|
||||
@ -64,6 +74,8 @@ Any pre-existing StatefulSet will have to be removed before upgrading due to a n
|
||||
|
||||
This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face:
|
||||
|
||||
[8.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-8.0.0/charts/home-assistant
|
||||
|
||||
[5.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-5.0.0/charts/home-assistant
|
||||
|
||||
[4.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-4.0.0/charts/home-assistant
|
||||
|
@ -1,22 +1 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the ssh secret to the additionalVolumes */}}
|
||||
{{- define "home-assistant.gitSecret.volume" -}}
|
||||
name: deploykey
|
||||
secret:
|
||||
secretName: {{ template "common.names.fullname" . }}-deploykey
|
||||
defaultMode: 256
|
||||
optional: true
|
||||
{{- end -}}
|
||||
|
||||
{{- if or .Values.git.deployKey .Values.git.deployKeyBase64 -}}
|
||||
{{- $volume := include "home-assistant.gitSecret.volume" . | fromYaml -}}
|
||||
{{- if $volume -}}
|
||||
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
|
||||
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
@ -1,15 +0,0 @@
|
||||
{{- if or .Values.git.deployKey .Values.git.deployKeyBase64 }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}-deploykey
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
data:
|
||||
{{- if .Values.git.deployKey }}
|
||||
id_rsa: {{ .Values.git.deployKey | b64enc | quote }}
|
||||
{{- else }}
|
||||
id_rsa: {{ .Values.git.deployKeyBase64 | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
@ -8,7 +8,7 @@
|
||||
image:
|
||||
repository: homeassistant/home-assistant
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 2021.4.1
|
||||
tag: 2021.4.4
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
@ -33,13 +33,6 @@ ingress:
|
||||
# securityContext:
|
||||
# privileged: true
|
||||
|
||||
# Allow access a Git repository by passing in a private SSH key
|
||||
git:
|
||||
# Raw SSH private key
|
||||
deployKey: ""
|
||||
# Base64-encoded SSH private key. When both variables are set, the raw SSH key takes precedence.
|
||||
deployKeyBase64: ""
|
||||
|
||||
# Enable a prometheus-operator servicemonitor
|
||||
prometheus:
|
||||
serviceMonitor:
|
||||
|
Loading…
Reference in New Issue
Block a user