Added wedding site
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: wedding-deployer
|
||||
namespace: wedding
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: wedding-deployer-token
|
||||
namespace: wedding
|
||||
annotations:
|
||||
kubernetes.io/service-account.name: wedding-deployer
|
||||
type: kubernetes.io/service-account-token
|
||||
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: wedding-restart
|
||||
namespace: wedding
|
||||
rules:
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["deployments"]
|
||||
verbs: ["get", "patch"]
|
||||
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: wedding-deployer-restart
|
||||
namespace: wedding
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: wedding-deployer
|
||||
namespace: wedding
|
||||
roleRef:
|
||||
kind: Role
|
||||
name: wedding-restart
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
Reference in New Issue
Block a user