diff --git a/stable/kube-ops-view/Chart.yaml b/stable/kube-ops-view/Chart.yaml index f727f85219d0..ad9dd76b4bbf 100644 --- a/stable/kube-ops-view/Chart.yaml +++ b/stable/kube-ops-view/Chart.yaml @@ -1,14 +1,15 @@ name: kube-ops-view -version: 0.3.1 -description: Kubernetes Operational View - read-only system dashboard for multiple K8s clusters +version: 0.4.0 +description: Kubernetes Operational View - read-only system dashboard for multiple + K8s clusters keywords: - - kubernetes - - dashboard - - operations +- kubernetes +- dashboard +- operations home: https://github.com/hjacobs/kube-ops-view icon: https://raw.githubusercontent.com/hjacobs/kube-ops-view/master/kube-ops-view-logo.png sources: - - https://github.com/hjacobs/kube-ops-view +- https://github.com/hjacobs/kube-ops-view maintainers: - - name: Henning Jacobs - email: henning@jacobs1.de +- name: Henning Jacobs + email: henning@jacobs1.de diff --git a/stable/kube-ops-view/templates/NOTES.txt b/stable/kube-ops-view/templates/NOTES.txt index 0f7672983ce1..62384f9b30f7 100644 --- a/stable/kube-ops-view/templates/NOTES.txt +++ b/stable/kube-ops-view/templates/NOTES.txt @@ -6,6 +6,6 @@ To access the Kubernetes Operational View UI: 2. Now open the following URL in your browser: - http://localhost:8001/api/v1/proxy/namespaces/{{ .Release.Namespace }}/services/{{ template "fullname" . }}/ + http://localhost:8001/api/v1/proxy/namespaces/{{ .Release.Namespace }}/services/{{ template "kube-ops-view.fullname" . }}/ Please try reloading the page if you see "ServiceUnavailable / no endpoints available for service", pod creation might take a moment. diff --git a/stable/kube-ops-view/templates/_helpers.tpl b/stable/kube-ops-view/templates/_helpers.tpl index f0d83d2edba6..9918214dd3b9 100644 --- a/stable/kube-ops-view/templates/_helpers.tpl +++ b/stable/kube-ops-view/templates/_helpers.tpl @@ -2,7 +2,7 @@ {{/* Expand the name of the chart. */}} -{{- define "name" -}} +{{- define "kube-ops-view.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} @@ -10,7 +10,7 @@ Expand the name of the chart. Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} -{{- define "fullname" -}} +{{- define "kube-ops-view.fullname" -}} {{- $name := default .Chart.Name .Values.nameOverride -}} {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} {{- end -}} diff --git a/stable/kube-ops-view/templates/clusterrole.yaml b/stable/kube-ops-view/templates/clusterrole.yaml index 4d3da67dd8d7..a23d6a0fb170 100644 --- a/stable/kube-ops-view/templates/clusterrole.yaml +++ b/stable/kube-ops-view/templates/clusterrole.yaml @@ -3,11 +3,11 @@ apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRole metadata: labels: - app: {{ template "name" . }} + app: {{ template "kube-ops-view.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version }} heritage: {{ .Release.Service }} release: {{ .Release.Name }} - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} rules: - apiGroups: [""] resources: ["nodes", "pods"] diff --git a/stable/kube-ops-view/templates/clusterrolebinding.yaml b/stable/kube-ops-view/templates/clusterrolebinding.yaml index 5a48ca212f18..17fe67d4a125 100644 --- a/stable/kube-ops-view/templates/clusterrolebinding.yaml +++ b/stable/kube-ops-view/templates/clusterrolebinding.yaml @@ -3,17 +3,17 @@ apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: labels: - app: {{ template "name" . }} + app: {{ template "kube-ops-view.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version }} heritage: {{ .Release.Service }} release: {{ .Release.Name }} - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} subjects: - kind: ServiceAccount - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} namespace: {{ .Release.Namespace }} {{- end -}} diff --git a/stable/kube-ops-view/templates/deployment.yaml b/stable/kube-ops-view/templates/deployment.yaml index c56d3e79f052..db239ff7414f 100644 --- a/stable/kube-ops-view/templates/deployment.yaml +++ b/stable/kube-ops-view/templates/deployment.yaml @@ -1,7 +1,7 @@ apiVersion: extensions/v1beta1 kind: Deployment metadata: - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} labels: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" spec: @@ -9,9 +9,9 @@ spec: template: metadata: labels: - app: {{ template "fullname" . }} + app: {{ template "kube-ops-view.fullname" . }} spec: - serviceAccountName: {{ if .Values.rbac.create }}{{ template "fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }} + serviceAccountName: {{ if .Values.rbac.create }}{{ template "kube-ops-view.fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" diff --git a/stable/kube-ops-view/templates/ingress.yaml b/stable/kube-ops-view/templates/ingress.yaml index 6cb0a0c6483c..854181d472e2 100644 --- a/stable/kube-ops-view/templates/ingress.yaml +++ b/stable/kube-ops-view/templates/ingress.yaml @@ -2,9 +2,9 @@ apiVersion: extensions/v1beta1 kind: Ingress metadata: - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} labels: - app: {{ template "fullname" . }} + app: {{ template "kube-ops-view.fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" @@ -19,7 +19,7 @@ spec: paths: - path: / backend: - serviceName: {{ template "fullname" . }} + serviceName: {{ template "kube-ops-view.fullname" . }} servicePort: {{ .Values.service.externalPort }} {{- if .Values.ingress.tls }} tls: diff --git a/stable/kube-ops-view/templates/service.yaml b/stable/kube-ops-view/templates/service.yaml index 2484951bcf91..eaad330528e0 100644 --- a/stable/kube-ops-view/templates/service.yaml +++ b/stable/kube-ops-view/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} {{- if .Values.service.annotations }} annotations: {{ toYaml .Values.service.annotations | indent 4 }} @@ -18,4 +18,4 @@ spec: targetPort: {{ .Values.service.internalPort }} protocol: TCP selector: - app: {{ template "fullname" . }} + app: {{ template "kube-ops-view.fullname" . }} diff --git a/stable/kube-ops-view/templates/serviceaccount.yaml b/stable/kube-ops-view/templates/serviceaccount.yaml index 8967eb1a75d8..016c84541a28 100644 --- a/stable/kube-ops-view/templates/serviceaccount.yaml +++ b/stable/kube-ops-view/templates/serviceaccount.yaml @@ -3,9 +3,9 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app: {{ template "name" . }} + app: {{ template "kube-ops-view.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version }} heritage: {{ .Release.Service }} release: {{ .Release.Name }} - name: {{ template "fullname" . }} + name: {{ template "kube-ops-view.fullname" . }} {{- end -}}