mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
add deploymentannotations, bump chart version (#20763)
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
This commit is contained in:
parent
9798bb82cc
commit
6c8d01add3
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: 5.11.50
|
appVersion: 5.11.50
|
||||||
description: Ubiquiti Network's Unifi Controller
|
description: Ubiquiti Network's Unifi Controller
|
||||||
name: unifi
|
name: unifi
|
||||||
version: 0.6.0
|
version: 0.6.1
|
||||||
keywords:
|
keywords:
|
||||||
- ubiquiti
|
- ubiquiti
|
||||||
- unifi
|
- unifi
|
||||||
|
@ -101,6 +101,7 @@ The following tables lists the configurable parameters of the Unifi chart and th
|
|||||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
||||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
| `affinity` | Affinity settings for pod assignment | `{}` |
|
||||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||||
|
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
|
||||||
|
|
||||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||||
|
|
||||||
|
@ -2,6 +2,12 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "unifi.fullname" . }}
|
name: {{ template "unifi.fullname" . }}
|
||||||
|
{{- if .Values.deploymentAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.deploymentAnnotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "unifi.name" . }}
|
app.kubernetes.io/name: {{ include "unifi.name" . }}
|
||||||
helm.sh/chart: {{ include "unifi.chart" . }}
|
helm.sh/chart: {{ include "unifi.chart" . }}
|
||||||
|
@ -222,3 +222,5 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
deploymentAnnotations: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user