netbox: Update to appVersion 2.7.12

This commit is contained in:
Alexander Olofsson 2020-04-08 21:20:32 +02:00
parent 5de7d7a7f3
commit 42b94b3aff
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
5 changed files with 12 additions and 5 deletions

View file

@ -1,7 +1,7 @@
--- ---
apiVersion: v1 apiVersion: v1
appVersion: "2.7.11" 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.6 version: 0.4.7

View file

@ -34,3 +34,10 @@ Create chart name and version as used by the chart label.
{{- define "netbox.chart" -}} {{- define "netbox.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}} {{- end -}}
{{/*
Get the correct image tag name
*/}}
{{- define "netbox.imageTag" -}}
{{- .Values.image.tag | default (printf "%s-ldap" .Chart.AppVersion) -}}
{{- end -}}

View file

@ -32,7 +32,7 @@ spec:
- python3 - python3
- /opt/netbox/netbox/manage.py - /opt/netbox/netbox/manage.py
- rqworker - rqworker
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ include "netbox.imageTag" . }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
envFrom: envFrom:
- configMapRef: - configMapRef:

View file

@ -27,7 +27,7 @@ spec:
spec: spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ include "netbox.imageTag" . }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
envFrom: envFrom:
- configMapRef: - configMapRef:

View file

@ -7,7 +7,7 @@ replicaCount: 1
image: image:
repository: netboxcommunity/netbox repository: netboxcommunity/netbox
tag: v2.7.11-ldap # tag: v2.7.12-ldap
pullPolicy: Always pullPolicy: Always
nameOverride: "" nameOverride: ""