mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kibana] Added option to add Sidecar containers (#7298)
* Update Chart version
* Revert "Update Chart version"
This reverts commit 87420c0057.
* Added ability to specify extra containers for the kibana pod
* Added option to remove kibana ports
* Update readme and values with examples and documentation
* removed strange whitespace
This commit is contained in:
committed by
k8s-ci-robot
parent
cebefd9000
commit
b19cd594cf
@@ -1,5 +1,5 @@
|
||||
name: kibana
|
||||
version: 0.11.0
|
||||
version: 0.12.0
|
||||
appVersion: 6.3.2
|
||||
description: Kibana is an open source data visualization plugin for Elasticsearch
|
||||
icon: https://raw.githubusercontent.com/elastic/kibana/master/src/ui/public/icons/kibana-color.svg
|
||||
|
||||
@@ -55,10 +55,13 @@ The following table lists the configurable parameters of the kibana chart and th
|
||||
| `replicaCount` | desired number of pods | `1` |
|
||||
| `revisionHistoryLimit` | revisionHistoryLimit | `3` |
|
||||
| `serviceAccountName` | serviceAccount that will run the pod | `nil` |
|
||||
| `authProxyEnabled` | enables authproxy. Create container in extracontainers | `false` |
|
||||
| `extraContainers` | Sidecar containers to add to the kibana pod| `{}` |
|
||||
| `resources` | pod resource requests & limits | `{}` |
|
||||
| `priorityClassName` | priorityClassName | `nil` |
|
||||
| `service.externalPort` | external port for the service | `443` |
|
||||
| `service.internalPort` | internal port for the service | `4180` |
|
||||
| `service.authProxyPort` | port to use when using sidecar authProxy | None: |
|
||||
| `service.externalIPs` | external IP addresses | None: |
|
||||
| `service.loadBalancerIP` | Load Balancer IP address | None: |
|
||||
| `service.nodePort` | NodePort value if service.type is NodePort | None: |
|
||||
|
||||
@@ -74,10 +74,12 @@ spec:
|
||||
- name: "{{ $key }}"
|
||||
value: "{{ $value }}"
|
||||
{{- end }}
|
||||
{{- if (not .Values.authProxyEnabled) }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.service.internalPort }}
|
||||
name: {{ template "kibana.name" . }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- if .Values.livenessProbe.enabled }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
@@ -93,6 +95,9 @@ spec:
|
||||
port: {{ .Values.service.internalPort }}
|
||||
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
|
||||
{{- end }}
|
||||
{{- with .Values.extraContainers }}
|
||||
{{ tpl . $ | indent 6 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 10 }}
|
||||
|
||||
@@ -18,7 +18,11 @@ spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.externalPort }}
|
||||
{{- if not .Values.authProxyEnabled }}
|
||||
targetPort: {{ .Values.service.internalPort }}
|
||||
{{- else }}
|
||||
targetPort: {{ .Values.service.authProxyPort }}
|
||||
{{- end }}
|
||||
protocol: TCP
|
||||
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
|
||||
@@ -33,6 +33,7 @@ service:
|
||||
type: ClusterIP
|
||||
externalPort: 443
|
||||
internalPort: 5601
|
||||
# authProxyPort: 5602 To be used with authProxyEnabled and a proxy extraContainer
|
||||
## External IP addresses of service
|
||||
## Default: nil
|
||||
##
|
||||
@@ -43,7 +44,6 @@ service:
|
||||
## Default: nil
|
||||
##
|
||||
# loadBalancerIP: 10.2.2.2
|
||||
# nodePort: 30000
|
||||
annotations:
|
||||
# Annotation example: setup ssl with aws cert when service.type is LoadBalancer
|
||||
# service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:EXAMPLE_CERT
|
||||
@@ -76,6 +76,22 @@ readinessProbe:
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 10
|
||||
|
||||
# Enable an authproxy. Specify container in extraContainers
|
||||
authProxyEnabled: false
|
||||
|
||||
extraContainers: |
|
||||
# - name: proxy
|
||||
# image: quay.io/gambol99/keycloak-proxy:latest
|
||||
# args:
|
||||
# - --resource=uri=/*
|
||||
# - --discovery-url=https://discovery-url
|
||||
# - --client-id=client
|
||||
# - --client-secret=secret
|
||||
# - --listen=0.0.0.0:5602
|
||||
# - --upstream-url=http://127.0.0.1:5601
|
||||
# ports:
|
||||
# - name: web
|
||||
# containerPort: 9090
|
||||
resources: {}
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
|
||||
Reference in New Issue
Block a user