make charts

pull/2325/head
Vaishnav Gaikwad 2023-01-11 12:22:06 +05:30
parent e055763437
commit 587f1a909c
8 changed files with 17 additions and 5 deletions

View File

@ -1,4 +1,5 @@
{{- if .Values.global.rbac.pspEnabled }} {{- if .Values.global.rbac.pspEnabled }}
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
@ -64,4 +65,5 @@ spec:
- secret - secret
- downwardAPI - downwardAPI
- persistentVolumeClaim - persistentVolumeClaim
{{- end }} {{- end }}
{{- end }}

View File

@ -9,6 +9,7 @@ metadata:
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
--- ---
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
@ -83,4 +84,5 @@ spec:
- emptyDir - emptyDir
- secret - secret
- persistentVolumeClaim - persistentVolumeClaim
{{- end }} {{- end }}
{{- end }}

View File

@ -122,6 +122,7 @@ rules:
- serviceaccounts - serviceaccounts
verbs: verbs:
- '*' - '*'
{{- if and .Values.global.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
- apiGroups: - apiGroups:
- policy - policy
resourceNames: resourceNames:
@ -130,3 +131,4 @@ rules:
- podsecuritypolicies - podsecuritypolicies
verbs: verbs:
- use - use
{{- end }}

View File

@ -1,4 +1,5 @@
{{- if .Values.global.rbac.pspEnabled }} {{- if .Values.global.rbac.pspEnabled }}
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
apiVersion: policy/v1beta1 apiVersion: policy/v1beta1
kind: PodSecurityPolicy kind: PodSecurityPolicy
metadata: metadata:
@ -48,4 +49,5 @@ rules:
- podsecuritypolicies - podsecuritypolicies
verbs: verbs:
- use - use
{{- end }} {{- end }}
{{- end }}

View File

@ -1,4 +1,5 @@
{{- if .Values.global.rbac.pspEnabled }} {{- if .Values.global.rbac.pspEnabled }}
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
apiVersion: policy/v1beta1 apiVersion: policy/v1beta1
kind: PodSecurityPolicy kind: PodSecurityPolicy
metadata: metadata:
@ -27,4 +28,5 @@ spec:
volumes: volumes:
- 'configMap' - 'configMap'
- 'secret' - 'secret'
{{- end }}
{{- end }} {{- end }}

View File

@ -1,4 +1,5 @@
{{- if .Values.global.rbac.pspEnabled }} {{- if .Values.global.rbac.pspEnabled }}
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
@ -78,4 +79,5 @@ spec:
- secret - secret
- downwardAPI - downwardAPI
- persistentVolumeClaim - persistentVolumeClaim
{{- end }}
{{- end }} {{- end }}

View File

@ -6533,7 +6533,7 @@ entries:
catalog.cattle.io/upstream-version: 1.15.3 catalog.cattle.io/upstream-version: 1.15.3
apiVersion: v1 apiVersion: v1
appVersion: 1.15.3 appVersion: 1.15.3
created: "2022-11-23T12:56:33.253369306+05:30" created: "2023-01-11T12:21:52.705673788+05:30"
dependencies: dependencies:
- condition: kiali.enabled - condition: kiali.enabled
name: kiali name: kiali
@ -6543,7 +6543,7 @@ entries:
repository: file://./charts/tracing repository: file://./charts/tracing
description: A basic Istio setup that installs with the istioctl. Refer to https://istio.io/latest/ description: A basic Istio setup that installs with the istioctl. Refer to https://istio.io/latest/
for details. for details.
digest: 338c1403977fbb27af1d0f9459fe597d5cdb1d5b5ee8a52c8af29ffd19717f73 digest: 01afccb2a6cea70b118529ff82b436bc993064da98d2e45e9b19a91b1ca2a613
icon: https://charts.rancher.io/assets/logos/istio.svg icon: https://charts.rancher.io/assets/logos/istio.svg
keywords: keywords:
- networking - networking