Skip to content

configuring-ci/cd-on-kubernetes #10880

Description

@fadeldamen

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
  • 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
  • apiGroups:

    • privatecloud.mendix.com
      resources:
    • mendixapps
      verbs:
    • "*"

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions