Skip to content

Commit

Permalink
helm: Update hubble-ui chart
Browse files Browse the repository at this point in the history
- Use v0.5.0 tag by default instead of latest.
- Rely on requirements.yaml to enable the chart instead of guarding
  individual templates.

Ref: https://github.com/cilium/hubble-ui/releases

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
michi-covalent committed Apr 30, 2020
1 parent 4b865d5 commit 9a9bab7
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 13 deletions.
@@ -1,4 +1,3 @@
{{- if .Values.global.hubble.ui.enabled }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down Expand Up @@ -41,4 +40,3 @@ rules:
- get
- list
- watch
{{- end }}
@@ -1,4 +1,3 @@
{{- if .Values.global.hubble.ui.enabled }}
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand All @@ -11,4 +10,3 @@ subjects:
- kind: ServiceAccount
namespace: {{ .Release.Namespace }}
name: hubble-ui
{{- end }}
@@ -1,4 +1,3 @@
{{- if .Values.global.hubble.ui.enabled }}
kind: Deployment
apiVersion: apps/v1
metadata:
Expand Down Expand Up @@ -35,4 +34,3 @@ spec:
name: http
resources:
{{- toYaml .Values.resources | trim | nindent 12 }}
{{- end }}
@@ -1,4 +1,4 @@
{{- if and .Values.global.hubble.ui.enabled .Values.ingress.enabled -}}
{{- if .Values.ingress.enabled -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: extensions/v1beta1
kind: Ingress
Expand Down
@@ -1,7 +1,5 @@
{{- if .Values.global.hubble.ui.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
namespace: {{ .Release.Namespace }}
name: hubble-ui
{{- end }}
2 changes: 0 additions & 2 deletions install/kubernetes/cilium/charts/hubble-ui/templates/svc.yaml
@@ -1,4 +1,3 @@
{{- if .Values.global.hubble.ui.enabled }}
kind: Service
apiVersion: v1
metadata:
Expand All @@ -12,4 +11,3 @@ spec:
port: 12000
targetPort: 12000
type: ClusterIP
{{- end }}
6 changes: 4 additions & 2 deletions install/kubernetes/cilium/charts/hubble-ui/values.yaml
Expand Up @@ -2,8 +2,10 @@
image:
# repository of the docker image
repository: quay.io/cilium/hubble-ui
# tag is the container image tag to use
tag: latest
# tag is the container image tag to use.
# Ref: https://github.com/cilium/hubble-ui/releases
# Ref: https://quay.io/repository/cilium/hubble-ui?tab=tags
tag: v0.5.0
# pullPolicy is the container image pull policy
pullPolicy: Always
clusterDomain: cluster.local
Expand Down

0 comments on commit 9a9bab7

Please sign in to comment.