netbox: Clean up labels
This commit is contained in:
parent
42b94b3aff
commit
d975960704
8 changed files with 8 additions and 9 deletions
|
@ -4,4 +4,4 @@ appVersion: "2.7.12"
|
||||||
description: An IP address management (IPAM) and data center infrastructure management (DCIM) tool.
|
description: An IP address management (IPAM) and data center infrastructure management (DCIM) tool.
|
||||||
icon: https://raw.githubusercontent.com/digitalocean/netbox/develop/netbox/project-static/img/netbox.ico
|
icon: https://raw.githubusercontent.com/digitalocean/netbox/develop/netbox/project-static/img/netbox.ico
|
||||||
name: netbox
|
name: netbox
|
||||||
version: 0.4.7
|
version: 0.5.0
|
||||||
|
|
|
@ -5,9 +5,9 @@ metadata:
|
||||||
name: {{ include "netbox.fullname" . }}
|
name: {{ include "netbox.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||||
data:
|
data:
|
||||||
DB_NAME: {{ .Values.database.database }}
|
DB_NAME: {{ .Values.database.database }}
|
||||||
DB_USER: {{ .Values.database.user }}
|
DB_USER: {{ .Values.database.user }}
|
||||||
|
|
|
@ -6,9 +6,9 @@ metadata:
|
||||||
name: {{ include "netbox.fullname" . }}-worker
|
name: {{ include "netbox.fullname" . }}-worker
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.worker.replicaCount }}
|
replicas: {{ .Values.worker.replicaCount }}
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -10,9 +10,9 @@ metadata:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||||
{{- with .Values.ingress.annotations }}
|
{{- with .Values.ingress.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
|
|
@ -5,9 +5,9 @@ metadata:
|
||||||
name: {{ .Chart.Name }}-config-files
|
name: {{ .Chart.Name }}-config-files
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||||
data:
|
data:
|
||||||
gunicorn_config.py: |-
|
gunicorn_config.py: |-
|
||||||
command = '/usr/bin/gunicorn'
|
command = '/usr/bin/gunicorn'
|
||||||
|
|
|
@ -5,9 +5,9 @@ metadata:
|
||||||
name: {{ template "netbox.fullname" . }}
|
name: {{ template "netbox.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- {{ .Values.persistence.accessMode | quote }}
|
- {{ .Values.persistence.accessMode | quote }}
|
||||||
|
|
|
@ -4,9 +4,9 @@ metadata:
|
||||||
name: {{ include "netbox.fullname" . }}
|
name: {{ include "netbox.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||||
data:
|
data:
|
||||||
DB_PASSWORD: {{ .Values.database.password | b64enc }}
|
DB_PASSWORD: {{ .Values.database.password | b64enc }}
|
||||||
REDIS_PASSWORD: {{ .Values.redis.password | b64enc }}
|
REDIS_PASSWORD: {{ .Values.redis.password | b64enc }}
|
||||||
|
|
|
@ -4,10 +4,9 @@ metadata:
|
||||||
name: {{ include "netbox.fullname" . }}
|
name: {{ include "netbox.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
com.digitalocean.netbox/component: front
|
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue