-
Notifications
You must be signed in to change notification settings - Fork 774
Open
Description
Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: configuring-ci/cd-on-kubernetes
Document link: pmp-configure-k8s.md
My Issue/Suggestion
Correction te tabs on this aply config in help-me
kubectl apply -f - <<EOF
apiVersion: v1
kind: ServiceAccount
metadata:
name: mxplatform-cicd
namespace: kube-system
apiVersion: v1
kind: Secret
metadata:
name: mxplatform-cicd
namespace: kube-system
annotations:
kubernetes.io/service-account.name: mxplatform-cicd
type: kubernetes.io/service-account-token
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: mxplatform-cicd
rules:
-
apiGroups:
- ""
resources: - namespaces
verbs: - list
- ""
-
apiGroups:
- apps
resources: - deployments
verbs: - get
- list
- watch
- apps
-
apiGroups:
- ""
resources: - pods
verbs: - get
- list
- ""
-
apiGroups:
- ""
resources: - pods/log
verbs: - get
- ""
-
apiGroups:
- ""
resources: - events
verbs: - get
- list
- ""
-
apiGroups:
- privatecloud.mendix.com
resources: - storageplans
verbs: - list
- privatecloud.mendix.com
-
apiGroups:
- privatecloud.mendix.com
resources: - mendixapps
verbs: - "*"
- privatecloud.mendix.com
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: mxplatform-cicd
subjects:
- kind: ServiceAccount
name: mxplatform-cicd
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: mxplatform-cicd
EOF
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels