Skip to content

Commit

Permalink
Upgrading ingress and role to v1 | generic 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito committed Oct 2, 2022
1 parent 200d8ee commit f014bcc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/generic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: generic
description: Generic Chart
version: 1.5.0
version: 1.5.1
2 changes: 1 addition & 1 deletion charts/generic/templates/ingresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $fullName := include "generic.fullname" . -}}
{{- $labels := include "generic.labels" . -}}
{{- range $ingress := .Values.ingresses }}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
{{- if .fullName }}
Expand Down
2 changes: 1 addition & 1 deletion charts/generic/templates/role.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and (.Values.serviceAccount.create) (.Values.serviceAccount.role.create) -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "generic.serviceAccountName" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/generic/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if and (.Values.serviceAccount.create) (.Values.serviceAccount.role.create) -}}
{{- $serviceAccountName := include "generic.serviceAccountName" . -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ $serviceAccountName }}
Expand Down

0 comments on commit f014bcc

Please sign in to comment.