Skip to content

Instantly share code, notes, and snippets.

@theraaz
Created July 13, 2019 15:39
Show Gist options
  • Save theraaz/743743db860070426585dcceacf03491 to your computer and use it in GitHub Desktop.
Save theraaz/743743db860070426585dcceacf03491 to your computer and use it in GitHub Desktop.
Kubernetes + Travis CI/CD with DigitalOcean - https://medium.com/p/c0c4058b7734
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cicd
rules:
- apiGroups: ["", "apps", "batch", "extensions"]
resources: ["deployments", "services", "replicasets", "pods", "jobs", "cronjobs", "secrets", "roles"]
verbs: ["*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment