Merge pull request #281 from jeremyrickard/aks-chart-rbac
Update VK AKS chart to have RBAC resources
This commit is contained in:
BIN
charts/virtual-kubelet-for-aks-0.1.5.tgz
Normal file
BIN
charts/virtual-kubelet-for-aks-0.1.5.tgz
Normal file
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
name: virtual-kubelet-for-aks
|
name: virtual-kubelet-for-aks
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
description: a Helm chart to install virtual kubelet in an AKS or ACS cluster.
|
description: a Helm chart to install virtual kubelet in an AKS or ACS cluster.
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/virtual-kubelet/virtual-kubelet
|
- https://github.com/virtual-kubelet/virtual-kubelet
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{{ if .Values.rbac.install }}
|
||||||
|
apiVersion: "rbac.authorization.k8s.io/{{ .Values.rbac.apiVersion }}"
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ template "fullname" . }}
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ template "fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: {{ .Values.rbac.roleRef }}
|
||||||
|
{{ end }}
|
||||||
@@ -56,5 +56,8 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/kubernetes/azure.json
|
path: /etc/kubernetes/azure.json
|
||||||
type: File
|
type: File
|
||||||
|
{{ if .Values.rbac.install }}
|
||||||
|
serviceAccountName: {{ template "fullname" . }}
|
||||||
|
{{ end }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
beta.kubernetes.io/os: linux
|
beta.kubernetes.io/os: linux
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{{ if .Values.rbac.install }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ template "fullname" . }}
|
||||||
|
{{ end }}
|
||||||
@@ -15,3 +15,11 @@ env:
|
|||||||
apiserverCert:
|
apiserverCert:
|
||||||
apiserverKey:
|
apiserverKey:
|
||||||
monitoredNamespace:
|
monitoredNamespace:
|
||||||
|
|
||||||
|
# Install Default RBAC roles and bindings
|
||||||
|
rbac:
|
||||||
|
install: true
|
||||||
|
## RBAC api version
|
||||||
|
apiVersion: v1beta1
|
||||||
|
# Cluster role reference
|
||||||
|
roleRef: cluster-admin
|
||||||
Reference in New Issue
Block a user