Skip to content

Commit

Permalink
feat(chart): bump chart to 7.5.0 (#9117)
Browse files Browse the repository at this point in the history
* bump api/web, chart deps and extend ingress/networkpolicy config

* revert values.yaml hosts change
  • Loading branch information
floreks authored Jun 4, 2024
1 parent 5b57bf3 commit fb9949f
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 15 deletions.
10 changes: 5 additions & 5 deletions charts/kubernetes-dashboard/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
dependencies:
- name: ingress-nginx
repository: https://kubernetes.github.io/ingress-nginx
version: 4.10.0
version: 4.10.1
- name: cert-manager
repository: https://charts.jetstack.io
version: v1.14.3
version: v1.14.5
- name: metrics-server
repository: https://kubernetes-sigs.github.io/metrics-server/
version: 3.12.0
version: 3.12.1
- name: kong
repository: https://charts.konghq.com
version: 2.38.0
digest: sha256:94e8aff5185ff5f76481ed0cc71bb3fbb272fa2ab06068079fcceb002bd47ef2
generated: "2024-03-02T00:46:32.54460399+01:00"
digest: sha256:ef535931f6d08b3b4b242cba567d0c02a072cf7cf68431f58a0d8d283b3b72b5
generated: "2024-06-04T11:32:45.155515532+02:00"
8 changes: 4 additions & 4 deletions charts/kubernetes-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

apiVersion: v2
name: kubernetes-dashboard
version: 7.4.0
version: 7.5.0
description: General-purpose web UI for Kubernetes clusters
keywords:
- kubernetes
Expand All @@ -32,15 +32,15 @@ kubeVersion: ">=1.21.0-0"
dependencies:
- name: ingress-nginx
alias: nginx
version: 4.10.0
version: 4.10.1
repository: https://kubernetes.github.io/ingress-nginx
condition: nginx.enabled
- name: cert-manager
version: v1.14.3
version: v1.14.5
repository: https://charts.jetstack.io
condition: cert-manager.enabled
- name: metrics-server
version: 3.12.0
version: 3.12.1
repository: https://kubernetes-sigs.github.io/metrics-server/
condition: metrics-server.enabled
- name: kong
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
{{- if not .Values.app.ingress.useDefaultIngressClass }}
ingressClassName: {{ .Values.app.ingress.ingressClassName }}
{{- end }}
{{- if .Values.app.ingress.hosts }}
{{- if and .Values.app.ingress.hosts .Values.app.ingress.tls.enabled }}
tls:
- hosts:
{{- toYaml .Values.app.ingress.hosts | nindent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ metadata:
spec:
podSelector:
matchLabels:
{{ include "kubernetes-dashboard.matchLabels" . | nindent 6 }}
{{ if .Values.app.security.networkPolicy.ingressDenyAll }}
{{- include "kubernetes-dashboard.matchLabels" . | nindent 6 -}}
{{- if .Values.app.security.networkPolicy.spec }}
{{- with .Values.app.security.networkPolicy.spec }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{ else }}
{{- if .Values.app.security.networkPolicy.ingressDenyAll }}
ingress: [ ]
{{ else }}
ingress:
Expand All @@ -39,5 +44,6 @@ spec:
protocol: TCP
- port: {{ $.Values.api.role }}
protocol: TCP
{{ end }}
{{ end }}
{{ end }}
14 changes: 11 additions & 3 deletions charts/kubernetes-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ app:
networkPolicy:
enabled: false
ingressDenyAll: false
# Raw network policy spec that overrides predefined spec
# Example:
# spec:
# egress:
# - ports:
# - port: 123
spec: {}

# Common labels & annotations shared across all deployed resources
labels: {}
annotations: {}
Expand Down Expand Up @@ -113,6 +121,7 @@ app:
# - disabled - disables cert-manager annotations
scope: default
tls:
enabled: true
# If provided it will override autogenerated secret name
secretName: ""
labels: {}
Expand Down Expand Up @@ -164,7 +173,7 @@ api:
role: api
image:
repository: docker.io/kubernetesui/dashboard-api
tag: 1.6.0
tag: 1.7.0
scaling:
replicas: 1
revisionHistoryLimit: 10
Expand Down Expand Up @@ -219,7 +228,7 @@ web:
role: web
image:
repository: docker.io/kubernetesui/dashboard-web
tag: 1.3.0
tag: 1.4.0
scaling:
replicas: 1
revisionHistoryLimit: 10
Expand Down Expand Up @@ -321,7 +330,6 @@ metricsScraper:
# defaultMode: 420
# secretName: dashboard-kubeconfig
volumes:
# Create on-disk volume to store exec logs (required)
- name: tmp-volume
emptyDir: {}
nodeSelector: {}
Expand Down

0 comments on commit fb9949f

Please sign in to comment.