Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' into stable/elasticsearch/support-es7
Browse files Browse the repository at this point in the history
  • Loading branch information
kimxogus committed May 6, 2019
2 parents 65137b9 + 5d1537d commit 6ef8721
Show file tree
Hide file tree
Showing 77 changed files with 296 additions and 80 deletions.
2 changes: 1 addition & 1 deletion incubator/sparkoperator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sparkoperator
description: A Helm chart for Spark on Kubernetes operator
version: 0.2.1
version: 0.2.2
appVersion: v2.4.0-v1beta1-0.8.2
kubeVersion: ">=1.8.0-0"
keywords:
Expand Down
1 change: 0 additions & 1 deletion incubator/sparkoperator/templates/spark-operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "sparkoperator.fullname" . }}-crb
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
helm.sh/chart: {{ include "sparkoperator.chart" . }}
Expand Down
2 changes: 1 addition & 1 deletion stable/airflow/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 2.7.0
version: 2.7.1
appVersion: 1.10.2
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
Expand Down
2 changes: 1 addition & 1 deletion stable/airflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ You can also add generic environment variables such as proxy or private pypi:
```yaml
airflow:
config:
AIRFLOW__CORE__EXPOSE_CONFIG: True
AIRFLOW__WEBSERVER__EXPOSE_CONFIG: True
PIP_INDEX_URL: http://pypi.mycompany.com/
PIP_TRUSTED_HOST: pypi.mycompany.com
HTTP_PROXY: http://proxy.mycompany.com:1234
Expand Down
2 changes: 1 addition & 1 deletion stable/cockroachdb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cockroachdb
home: https://www.cockroachlabs.com
version: 2.1.3
version: 2.1.5
appVersion: 19.1.0
description: CockroachDB is a scalable, survivable, strongly-consistent SQL database.
icon: https://raw.githubusercontent.com/cockroachdb/cockroach/master/docs/media/cockroach_db.png
Expand Down
2 changes: 2 additions & 0 deletions stable/cockroachdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ The following table lists the configurable parameters of the CockroachDB chart a
| `ExtraArgs` | Additional command-line arguments | `[]` |
| `ExtraSecretMounts` | Additional secrets to mount at cluster members | `[]` |
| `ExtraEnvArgs` | Allows to set extra ENV args | `[]` |
| `ExtraAnnotations` | Allows to set extra Annotations | `[]` |
| `ExtraInitAnnotations` | Allows to set extra Annotations to init pod | `[]` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

Expand Down
6 changes: 5 additions & 1 deletion stable/cockroachdb/templates/cluster-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ metadata:
chart: "{{.Chart.Name}}-{{.Chart.Version}}"
spec:
template:
{{- if and (.Values.NetworkPolicy.Enabled) (not .Values.NetworkPolicy.AllowExternal) }}
metadata:
{{- if and (.Values.NetworkPolicy.Enabled) (not .Values.NetworkPolicy.AllowExternal) }}
labels:
{{.Release.Name}}-{{.Values.Component}}-client: "true"
{{- end }}
{{- if .Values.ExtraInitAnnotations }}
annotations:
{{ toYaml .Values.ExtraInitAnnotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.Secure.Enabled }}
Expand Down
4 changes: 4 additions & 0 deletions stable/cockroachdb/templates/cockroachdb-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ spec:
component: "{{ .Release.Name }}-{{ .Values.Component }}"
template:
metadata:
{{- if .Values.ExtraAnnotations }}
annotations:
{{ toYaml .Values.ExtraAnnotations | indent 8 }}
{{- end }}
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
Expand Down
10 changes: 10 additions & 0 deletions stable/cockroachdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,13 @@ ExtraSecretMounts: []
# - name: COCKROACH_ENGINE_MAX_SYNC_DURATION
# value: "24h"
ExtraEnvArgs: []
# ExtraAnnotations is an object to provide additional annotations to the Statefulset
# e.g.:
# ExtraAnnotations:
# key: values
ExtraAnnotations: {}
# ExtraInitAnnotations is an object to provide additional annotations to the ClusterInit Pod
# e.g.:
# ExtraInitAnnotations:
# key: values
ExtraInitAnnotations: {}
2 changes: 1 addition & 1 deletion stable/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: datadog
version: 1.27.2
version: 1.30.0
appVersion: 6.10.1
description: DataDog Agent
keywords:
Expand Down
3 changes: 2 additions & 1 deletion stable/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,14 @@ helm install --name <RELEASE_NAME> \
| `datadog.appKey` | Datadog APP key required to use metricsProvider | `Nil` You must provide your own key |
| `datadog.appKeyExistingSecret` | If set, use the secret with a provided name instead of creating a new one | `nil` |
| `image.repository` | The image repository to pull from | `datadog/agent` |
| `image.tag` | The image tag to pull | `6.10.1` |
| `image.tag` | The image tag to pull | `6.10.1` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Image pull secrets | `nil` |
| `nameOverride` | Override name of app | `nil` |
| `fullnameOverride` | Override full name of app | `nil` |
| `rbac.create` | If true, create & use RBAC resources | `true` |
| `rbac.serviceAccount` | existing ServiceAccount to use (ignored if rbac.create=true) | `default` |
| `daemonset.podLabels` | labels to add to each pod | `nil` |
| `datadog.name` | Container name if Daemonset or Deployment | `datadog` |
| `datadog.site` | Site ('datadoghq.com' or 'datadoghq.eu') | `nil` |
| `datadog.dd_url` | Datadog intake server | `nil` |
Expand Down
4 changes: 4 additions & 0 deletions stable/datadog/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ rules:
verbs:
- get
{{- end }}
- nonResourceURLs:
- "/metrics"
verbs:
- get
- apiGroups: # Kubelet connectivity
- ""
resources:
Expand Down
5 changes: 4 additions & 1 deletion stable/datadog/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ spec:
metadata:
labels:
app: {{ template "datadog.fullname" . }}
{{- if .Values.daemonset.podLabels }}
{{ toYaml .Values.daemonset.podLabels | indent 8 }}
{{- end }}
name: {{ template "datadog.fullname" . }}
annotations:
checksum/autoconf-config: {{ tpl (toYaml .Values.datadog.autoconf) . | sha256sum }}
Expand Down Expand Up @@ -293,6 +296,6 @@ spec:
{{ toYaml .Values.daemonset.nodeSelector | indent 8 }}
{{- end }}
updateStrategy:
type: {{ default "OnDelete" .Values.daemonset.updateStrategy | quote }}
type: {{ default "RollingUpdate" .Values.daemonset.updateStrategy | quote }}
{{ end }}
{{ end }}
5 changes: 5 additions & 0 deletions stable/datadog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,11 @@ daemonset:
#
# priorityClassName:

## @param podLabels - object - optional
## Sets podLabels if defined.
#
# podLabels: {}

deployment:
## @param enabled - boolean - required
## Apart from DaemonSet, deploy Datadog agent pods and related service for
Expand Down
4 changes: 2 additions & 2 deletions stable/drupal/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: drupal
version: 3.2.3
appVersion: 8.6.15
version: 3.2.4
appVersion: 8.7.0
description: One of the most versatile open source content management systems.
keywords:
- drupal
Expand Down
2 changes: 1 addition & 1 deletion stable/drupal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
image:
registry: docker.io
repository: bitnami/drupal
tag: 8.6.15
tag: 8.7.0
## 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
Expand Down
2 changes: 1 addition & 1 deletion stable/elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The following table lists the configurable parameters of the elasticsearch chart
| `data.resources` | Data node resources requests & limits | `{} - cpu limit must be an integer` |
| `data.priorityClassName` | Data priorityClass | `nil` |
| `data.heapSize` | Data node heap size | `1536m` |
| `data.hooks.drain.enabled | Data nodes: Enable drain pre-stop and post-start hook | `true` |
| `data.hooks.drain.enabled` | Data nodes: Enable drain pre-stop and post-start hook | `true` |
| `data.persistence.enabled` | Data persistent enabled/disabled | `true` |
| `data.persistence.name` | Data statefulset PVC template name | `data` |
| `data.persistence.size` | Data persistent volume size | `30Gi` |
Expand Down
4 changes: 4 additions & 0 deletions stable/gocd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.9.1

- Add support for Deployment and Pod annotations.

### 1.9.0

- Bump up k8s elastic agent plugin to latest.
Expand Down
2 changes: 1 addition & 1 deletion stable/gocd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gocd
home: https://www.gocd.org/
version: 1.9.0
version: 1.9.1
appVersion: 19.3.0
description: GoCD is an open-source continuous delivery server to model and visualize complex workflows with ease.
icon: https://gocd.github.io/assets/images/go-icon-black-192x192.png
Expand Down
4 changes: 4 additions & 0 deletions stable/gocd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ The following tables list the configurable parameters of the GoCD chart and thei
| Parameter | Description | Default |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ------------------- |
| `server.enabled` | Enable GoCD Server. Supported values are `true`, `false`. When enabled, the GoCD server deployment is done on helm install. | `true` |
| `server.annotations.deployment` | GoCD server Deployment annotations. | `{}` |
| `server.annotations.pod ` | GoCD server Pod annotations. | `{}` |
| `server.shouldPreconfigure` | Preconfigure GoCD Server to have a default elastic agent profile and Kubernetes elastic agent plugin settings. Supported values are `true`, `false`. | `true` |
| `server.preconfigureCommand` | Preconfigure GOCD Server with a custom command (shell,python, etc ...). Supported value is a list. | `["/bin/bash", "/preconfigure_server.sh"]`|
| `server.preStop` | Perform cleanup and backup before stopping the gocd server. Supported value is a list. | `nil` |
Expand Down Expand Up @@ -162,6 +164,8 @@ $ kubectl create secret generic gocd-server-ssh \

| Parameter | Description | Default |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| `agent.annotations.deployment` | GoCD Agent Deployment annotations. | `{}` |
| `agent.annotations.pod ` | GoCD Agent Pod annotations. | `{}` |
| `agent.replicaCount` | GoCD Agent replicas Count. By default, no agents are provided. | `0` |
| `agent.preStop ` | Perform cleanup and backup before stopping the gocd server. Supported value is a list. | `nil` |
| `agent.terminationGracePeriodSeconds` | Optional duration in seconds the gocd agent pods need to terminate gracefully. | `nil` |
Expand Down
8 changes: 8 additions & 0 deletions stable/gocd/templates/gocd-agent-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name | quote }}
heritage: {{ .Release.Service | quote }}
component: agent
annotations:
{{- range $key, $value := .Values.agent.annotations.deployment }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
replicas: {{ .Values.agent.replicaCount }}
{{- if .Values.agent.deployStrategy }}
Expand All @@ -25,6 +29,10 @@ spec:
app: {{ template "gocd.name" . }}
release: {{ .Release.Name | quote }}
component: agent
annotations:
{{- range $key, $value := .Values.agent.annotations.pod }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
serviceAccountName: {{ template "gocd.agentServiceAccountName" . }}
{{- if or .Values.agent.persistence.enabled (or .Values.agent.security.ssh.enabled .Values.agent.persistence.extraVolumes) }}
Expand Down
8 changes: 8 additions & 0 deletions stable/gocd/templates/gocd-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ metadata:
release: {{ .Release.Name | quote }}
heritage: {{ .Release.Service | quote }}
component: server
annotations:
{{- range $key, $value := .Values.server.annotations.deployment }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
replicas: 1
strategy:
Expand All @@ -24,6 +28,10 @@ spec:
app: {{ template "gocd.name" . }}
release: {{ .Release.Name | quote }}
component: server
annotations:
{{- range $key, $value := .Values.server.annotations.pod }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
serviceAccountName: {{ template "gocd.serviceAccountName" . }}
{{- if or .Values.server.shouldPreconfigure (or .Values.server.persistence.enabled (or .Values.server.security.ssh.enabled .Values.server.persistence.extraVolumes)) }}
Expand Down
16 changes: 16 additions & 0 deletions stable/gocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ serviceAccount:
server:
# server.enabled is the toggle to run GoCD Server. Change to false for Agent Only Deployment.
enabled: true


# server.annotations is the annotations for the GoCD Server Deployment and Pod spec.
annotations:
deployment:
# iam.amazonaws.com/role: arn:aws:iam::xxx:role/my-custom-role
pod:
# iam.amazonaws.com/role: arn:aws:iam::xxx:role/my-custom-role

# server.shouldPreconfigure is used to invoke a script to pre configure the elastic agent profile and the plugin settings in the GoCD server.
# Note: If this value is set to true, then, the serviceAccount.name is configured for the GoCD server pod. The service account token is mounted as a secret and is used in the lifecycle hook.
# Note: An attempt to preconfigure the GoCD server is made. There are cases where the pre-configuration can fail and the GoCD server starts with an empty config.
Expand Down Expand Up @@ -205,6 +214,13 @@ agent:
# If field is empty, the service account "default" will be used.
name:

# agent.annotations is the annotations for the GoCD Agent Deployment and Pod Spec
annotations:
deployment:
# iam.amazonaws.com/role: arn:aws:iam::xxx:role/my-custom-role
pod:
# iam.amazonaws.com/role: arn:aws:iam::xxx:role/my-custom-role

# agent.replicaCount is the GoCD Agent replicas Count. Specify the number of GoCD agents to run
replicaCount: 0
# agent.preStop - array of commands to use in the agent pre-stop lifecycle hook
Expand Down
2 changes: 1 addition & 1 deletion stable/grafana/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 3.3.5
version: 3.3.6
appVersion: 6.1.6
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
Expand Down
31 changes: 31 additions & 0 deletions stable/grafana/templates/tests/test-podsecuritypolicy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{{- if .Values.rbac.pspEnabled }}
apiVersion: extensions/v1beta1
kind: PodSecurityPolicy
metadata:
name: {{ template "grafana.fullname" . }}-test
labels:
app: {{ template "grafana.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
spec:
allowPrivilegeEscalation: true
privileged: false
hostNetwork: false
hostIPC: false
hostPID: false
fsGroup:
rule: RunAsAny
seLinux:
rule: RunAsAny
supplementalGroups:
rule: RunAsAny
runAsUser:
rule: RunAsAny
volumes:
- configMap
- downwardAPI
- emptyDir
- projected
- secret
{{- end }}
16 changes: 16 additions & 0 deletions stable/grafana/templates/tests/test-role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- if .Values.rbac.pspEnabled -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ template "grafana.fullname" . }}-test
labels:
app: {{ template "grafana.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
rules:
- apiGroups: ['policy']
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames: [{{ template "grafana.fullname" . }}-test]
{{- end }}
19 changes: 19 additions & 0 deletions stable/grafana/templates/tests/test-rolebinding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{- if .Values.rbac.pspEnabled -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ template "grafana.fullname" . }}-test
labels:
app: {{ template "grafana.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ template "grafana.fullname" . }}-test
subjects:
- kind: ServiceAccount
name: {{ template "grafana.serviceAccountName" . }}-test
namespace: {{ .Release.Namespace }}
{{- end }}
9 changes: 9 additions & 0 deletions stable/grafana/templates/tests/test-serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app: {{ template "grafana.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
name: {{ template "grafana.serviceAccountName" . }}-test
1 change: 1 addition & 0 deletions stable/grafana/templates/tests/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
annotations:
"helm.sh/hook": test-success
spec:
serviceAccountName: {{ template "grafana.serviceAccountName" . }}-test
initContainers:
- name: test-framework
image: "{{ .Values.testFramework.image}}:{{ .Values.testFramework.tag }}"
Expand Down
2 changes: 1 addition & 1 deletion stable/instana-agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: instana-agent
version: 1.0.4
version: 1.0.6
appVersion: 1.0
description: Instana Agent for Kubernetes
home: https://www.instana.com/
Expand Down
Loading

0 comments on commit 6ef8721

Please sign in to comment.