Synchronize upstreamed folder to 5947b8fb5

This commit is contained in:
bitnami-bot
2019-03-14 18:37:30 +00:00
parent d30adc3c22
commit b4d37d0cbd
7 changed files with 46 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
name: kubewatch
version: 0.6.1
version: 0.7.0
apiVersion: v1
appVersion: 0.0.4
home: https://github.com/bitnami-labs/kubewatch

View File

@@ -40,6 +40,7 @@ The following table lists the configurable parameters of the kubewatch chart and
| Parameter | Description | Default |
| ---------------------------------------- | ------------------------------------ | --------------------------------- |
| `global.imageRegistry` | Global Docker image registry | `nil` |
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `affinity` | node/pod affinities | None |
| `image.registry` | Image registry | `docker.io` |
| `image.repository` | Image repository | `bitnami/kubewatch` |

View File

@@ -64,3 +64,32 @@ Also, we can't use a single if because lazy evaluation is not an option
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
{{- end -}}
{{- end -}}
{{/*
Return the proper Docker Image Registry Secret Names
*/}}
{{- define "kubewatch.imagePullSecrets" -}}
{{/*
Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic.
Also, we can not use a single if because lazy evaluation is not an option
*/}}
{{- if .Values.global }}
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.global.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- else if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end -}}
{{- else if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end -}}
{{- end -}}

View File

@@ -28,6 +28,7 @@ spec:
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
{{- include "kubewatch.imagePullSecrets" . | indent 6 }}
containers:
- name: {{ template "kubewatch.name" . }}
image: {{ template "kubewatch.image" . }}

View File

@@ -1,8 +1,11 @@
## Global Docker image registry
## Please, note that this will override the image registry for all the images, including dependencies, configured to use the global value
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
##
# global:
# imageRegistry:
# imageRegistry: myRegistryName
# imagePullSecrets:
# - myRegistryKeySecretName
slack:
enabled: true
@@ -45,6 +48,12 @@ image:
repository: "bitnami/kubewatch"
tag: "0.0.4"
pullPolicy: "Always"
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
rbac:
# If true, create & use RBAC resources

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: rabbitmq
version: 4.7.0
version: 4.7.1
appVersion: 3.7.13
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
keywords:

View File

@@ -60,7 +60,7 @@ The following table lists the configurable parameters of the RabbitMQ chart and
| `rabbitmq.password` | RabbitMQ application password | _random 10 character long alphanumeric string_ |
| `rabbitmq.existingPasswordSecret` | Existing secret with RabbitMQ credentials | nil |
| `rabbitmq.erlangCookie` | Erlang cookie | _random 32 character long alphanumeric string_ |
| `rabbitmq.existingErlSecret` | Existing secret with RabbitMQ Erlang cookie | nil |
| `rabbitmq.existingErlangSecret` | Existing secret with RabbitMQ Erlang cookie | nil |
| `rabbitmq.plugins` | configuration file for plugins to enable | `[rabbitmq_management,rabbitmq_peer_discovery_k8s].` |
| `rabbitmq.clustering.address_type` | Switch clustering mode | `ip` or `hostname` |
| `rabbitmq.clustering.k8s_domain` | Customize internal k8s cluster domain | `cluster.local` |