Skip to content

Commit e3a47f4

Browse files
Fixes default hostname to be correct and Roles to ClusterRoles (#58)
* Fixes default hostname to be correct * Role->ClusterRole
1 parent 80367e2 commit e3a47f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

templates/pod.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: {{.Values.namespace}}
66
labels:
77
app: k8s_01
8-
host: k8s_01
8+
host: kubelogreader
99
spec:
1010
serviceAccount: kubelogreader
1111
serviceAccountName: kubelogreader

templates/role.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: rbac.authorization.k8s.io/v1
2-
kind: Role
2+
kind: ClusterRole
33
metadata:
44
namespace: {{.Values.namespace}}
55
name: kubelogreader

templates/rolebinding.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: rbac.authorization.k8s.io/v1
2-
kind: RoleBinding
2+
kind: ClusterRoleBinding
33
metadata:
44
name: kubelogreader
55
namespace: {{.Values.namespace}}
@@ -8,6 +8,6 @@ subjects:
88
name: kubelogreader
99
namespace: {{.Values.namespace}}
1010
roleRef:
11-
kind: Role
11+
kind: ClusterRole
1212
name: kubelogreader
1313
apiGroup: rbac.authorization.k8s.io

0 commit comments

Comments
 (0)