[bitnami/consul] Introduced .Release.Namespace in objects meta (#2761)

* [bitnami/consul] Introduced .Release.Namespace in objects meta

This PR implements #2006 for consul chart

* [bitnami/consul] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Konstanty Karagiorgis
2020-06-09 08:59:50 +02:00
committed by GitHub
co-authored by Bitnami Containers
parent 4ea05704cd
commit 752cb536eb
10 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: consul
version: 7.0.16
version: 7.1.0
appVersion: 1.7.3
description: Highly available and distributed service discovery and key-value store designed with support for the modern data center to make distributed systems and configuration easy.
home: https://www.consul.io/
@@ -3,6 +3,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "consul.fullname" . }}-configuration
namespace: {{ .Release.Namespace }}
labels: {{- include "consul.labels" . | nindent 4 }}
data:
config.json: {{- toYaml .Values.configmap | nindent 4}}
@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "consul.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "consul.labels" . | nindent 4 }}
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
@@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "consul.fullname" . }}-gossip-key
namespace: {{ .Release.Namespace }}
labels: {{- include "consul.labels" . | nindent 4 }}
type: Opaque
data:
+1
View File
@@ -3,6 +3,7 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ template "consul.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "consul.labels" . | nindent 4 }}
annotations:
{{- if .Values.ingress.certManager }}
@@ -3,6 +3,7 @@ apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ include "consul.fullname" . }}-pdb
namespace: {{ .Release.Namespace }}
labels: {{- include "consul.labels" . | nindent 4 }}
spec:
{{- if .Values.pdb.minAvailable }}
@@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ template "consul.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "consul.labels" . | nindent 4 }}
spec:
selector:
+1
View File
@@ -3,6 +3,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "consul.fullname" . }}-ui
namespace: {{ .Release.Namespace }}
labels: {{- include "consul.labels" . | nindent 4 }}
annotations: {{- include "consul.tplValue" ( dict "value" .Values.ui.service.annotations "context" $) | nindent 4 }}
spec:
+2 -2
View File
@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/consul
tag: 1.7.3-debian-10-r11
tag: 1.7.3-debian-10-r13
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -330,7 +330,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/consul-exporter
tag: 0.6.0-debian-10-r134
tag: 0.6.0-debian-10-r136
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
+2 -2
View File
@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/consul
tag: 1.7.3-debian-10-r11
tag: 1.7.3-debian-10-r13
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -330,7 +330,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/consul-exporter
tag: 0.6.0-debian-10-r134
tag: 0.6.0-debian-10-r136
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.