Skip to content

Commit

Permalink
Merge pull request #39 from huiwq1990/feat-helm1.22
Browse files Browse the repository at this point in the history
chart support k8s 1.22
  • Loading branch information
luc99hen authored Sep 16, 2022
2 parents 672e8ef + bf2497a commit 60eb192
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/yurt-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 1.16.0
appVersion: 0.7.0
10 changes: 6 additions & 4 deletions charts/yurt-dashboard/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

---
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "yurt-dashboard.fullname" . }}
Expand All @@ -16,7 +16,9 @@ spec:
http:
paths:
- backend:
serviceName: {{ include "yurt-dashboard.fullname" . }}
servicePort: {{ .Values.dashboard.service.port }}
service:
name: {{ include "yurt-dashboard.fullname" . }}
port:
number: {{ .Values.dashboard.service.port }}
path: /

pathType: Prefix
6 changes: 4 additions & 2 deletions charts/yurt-dashboard/templates/user_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ spec:
runAsNonRoot: true
serviceAccountName: yurt-user-controller-controller-manager
terminationGracePeriodSeconds: 10

---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: default-cluster-admin
subjects:
Expand All @@ -85,9 +86,10 @@ roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: ""

---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openyurt-users
subjects:
Expand Down

0 comments on commit 60eb192

Please sign in to comment.