Last active
December 19, 2023 11:50
-
-
Save alphajc/389b79c705d9d9fbc4f8e4bf0c96b54b to your computer and use it in GitHub Desktop.
Revisions
-
Jerry Chan renamed this gist
Sep 6, 2019 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,14 +2,14 @@ apiVersion: v1 kind: ServiceAccount metadata: name: default namespace: gitlab --- # Source: gitlab-runner/templates/role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: "ClusterRole" metadata: name: default namespace: gitlab rules: - apiGroups: ["*"] @@ -20,13 +20,13 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: "ClusterRoleBinding" metadata: name: default namespace: gitlab roleRef: apiGroup: rbac.authorization.k8s.io kind: "ClusterRole" name: default subjects: - kind: ServiceAccount name: default namespace: gitlab -
Jerry Chan revised this gist
Sep 6, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiVersion: v1 kind: ServiceAccount metadata: name: gitlab-runner-admin namespace: gitlab --- # Source: gitlab-runner/templates/role.yaml apiVersion: rbac.authorization.k8s.io/v1 -
Jerry Chan created this gist
Sep 6, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # Source: gitlab-runner/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: name: gitlab-runner-admin namespace: gitlabci --- # Source: gitlab-runner/templates/role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: "ClusterRole" metadata: name: gitlab-runner-admin namespace: gitlab rules: - apiGroups: ["*"] resources: ["*"] verbs: ["*"] --- # Source: gitlab-runner/templates/role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: "ClusterRoleBinding" metadata: name: gitlab-runner-admin namespace: gitlab roleRef: apiGroup: rbac.authorization.k8s.io kind: "ClusterRole" name: gitlab-runner-admin subjects: - kind: ServiceAccount name: gitlab-runner-admin namespace: gitlab