diff --git a/charts/yurt-dashboard/Chart.yaml b/charts/yurt-dashboard/Chart.yaml index 89faf45..af67a51 100644 --- a/charts/yurt-dashboard/Chart.yaml +++ b/charts/yurt-dashboard/Chart.yaml @@ -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 diff --git a/charts/yurt-dashboard/templates/ingress.yaml b/charts/yurt-dashboard/templates/ingress.yaml index 16d13c8..9f09d93 100644 --- a/charts/yurt-dashboard/templates/ingress.yaml +++ b/charts/yurt-dashboard/templates/ingress.yaml @@ -1,6 +1,6 @@ --- -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ include "yurt-dashboard.fullname" . }} @@ -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 diff --git a/charts/yurt-dashboard/templates/user_controller.yaml b/charts/yurt-dashboard/templates/user_controller.yaml index 9e7eed2..79db509 100644 --- a/charts/yurt-dashboard/templates/user_controller.yaml +++ b/charts/yurt-dashboard/templates/user_controller.yaml @@ -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: @@ -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: