Last active
September 17, 2019 14:40
-
-
Save alinetskyi/fad2894e789543a89238a266b6a4969a to your computer and use it in GitHub Desktop.
Redeployment Kubernetes resources
This file contains 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 characters
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
name: front-redeploy | |
namespace: uat-app | |
rules: | |
- apiGroups: | |
- "" | |
- extensions | |
resources: | |
- deployments | |
verbs: | |
- patch | |
- get | |
- edit |
This file contains 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 characters
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: | |
annotations: | |
name: front-redeploy | |
namespace: uat-app | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: Role | |
name: front-redeploy | |
subjects: | |
- kind: ServiceAccount | |
name: front-redeploy | |
namespace: uat-app |
This file contains 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 characters
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: front-redeploy | |
namespace: uat-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment