Skip to content

Commit

Permalink
# upgrade k8s-dashboard rancher bitwarden
Browse files Browse the repository at this point in the history
  • Loading branch information
czy21 committed Nov 21, 2024
1 parent eab20f2 commit 2a4497d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion server/chart/cattle-system/rancher/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ version: 0.1.0

dependencies:
- name: rancher
version: 2.9.1
version: 2.9.3
repository: "https://releases.rancher.com/server-charts/stable"
2 changes: 1 addition & 1 deletion server/chart/ops/k8s-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version: 0.1.0

dependencies:
- name: kubernetes-dashboard
version: 6.0.8
version: 7.10.0
repository: "https://kubernetes.github.io/dashboard"
alias: dashboard
18 changes: 16 additions & 2 deletions server/chart/ops/k8s-dashboard/templates/role.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Release.Name }}-admin
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-admin
namespace: {{ .Release.Namespace }}
annotations:
kubernetes.io/service-account.name: {{ .Release.Name }}-admin
type: kubernetes.io/service-account-token
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ .Values.dashboard.serviceAccount.name}}
name: {{ .Release.Name }}-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: {{ .Values.dashboard.serviceAccount.name }}
name: {{ .Release.Name }}-admin
namespace: {{ .Release.Namespace }}
11 changes: 4 additions & 7 deletions server/chart/ops/k8s-dashboard/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
dashboard:
service:
externalPort: 8080
protocolHttp: true
serviceAccount:
name: k8s-dashboard
extraArgs:
- --enable-skip-login
kong:
proxy:
http:
enabled: true
2 changes: 1 addition & 1 deletion server/docker/app/bitwarden/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ x-traefik-label: &traefik-label
services:

bitwarden:
image: bitwarden/self-host:2024.8.1-beta
image: bitwarden/self-host:2024.11.0-beta
container_name: bitwarden
labels:
<<: *traefik-label
Expand Down

0 comments on commit 2a4497d

Please sign in to comment.