mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Enable Redis in kube-ops-view (#9785)
* Add redis to requirements Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * fix requirements.yaml Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * add default values for redis Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * add args for redis if enabled Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * do not use password for redis Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * fix args for redis Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * Add info about redis to README Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * Bump version to 0.5.0 Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * Add new line Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * add new line Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com> * Only one line at the end of values.yaml Signed-off-by: Tomasz Święcicki <tswiecicki@vewd.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
601c467676
commit
e30f06f23d
@@ -1,5 +1,5 @@
|
||||
name: kube-ops-view
|
||||
version: 0.4.4
|
||||
version: 0.5.0
|
||||
appVersion: 0.8.1
|
||||
description: Kubernetes Operational View - read-only system dashboard for multiple
|
||||
K8s clusters
|
||||
|
||||
@@ -18,6 +18,12 @@ The command deploys Kubernetes Operational View on the Kubernetes cluster in the
|
||||
$ kubectl proxy
|
||||
```
|
||||
|
||||
## Using with Redis
|
||||
|
||||
```console
|
||||
$ helm install --set redis.enabled=true --name=my-release stable/kube-ops-view
|
||||
```
|
||||
|
||||
Assuming you used `my-release` for installation, you can now access the UI in your browser by opening http://localhost:8001/api/v1/proxy/namespaces/default/services/my-release-kube-ops-view/
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
dependencies:
|
||||
- name: redis
|
||||
version: 5.1.0
|
||||
repository: https://kubernetes-charts.storage.googleapis.com
|
||||
condition: redis.enabled
|
||||
@@ -24,6 +24,10 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.redis.enabled }}
|
||||
args:
|
||||
- --redis-url=redis://{{ .Release.Name }}-redis-master:{{ .Values.redis.master.port }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.service.internalPort }}
|
||||
livenessProbe:
|
||||
|
||||
@@ -41,3 +41,13 @@ podLabels: {}
|
||||
|
||||
# Add securityContext
|
||||
securityContext: {}
|
||||
|
||||
# Defaults for Redis
|
||||
redis:
|
||||
enabled: false
|
||||
usePassword: false
|
||||
cluster:
|
||||
enabled: false
|
||||
master:
|
||||
persistence:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user