Skip to content

Commit

Permalink
extra resources to allow to control cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
alewitt2 committed May 9, 2019
1 parent a3291b6 commit 299de7b
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions kubernetes/kapitan-delta/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,68 @@
# limitations under the License.
################################################################################
apiVersion: v1
kind: Namespace
metadata:
name: razee
annotations:
razee.io/git-repo: "{{{GIT_REMOTE}}}"
razee.io/commit-sha: "{{TRAVIS_COMMIT}}"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: kapitan-sa
namespace: razee
annotations:
razee.io/git-repo: "{{{GIT_REMOTE}}}"
razee.io/commit-sha: "{{TRAVIS_COMMIT}}"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cluster-admin
namespace: razee
annotations:
razee.io/git-repo: "{{{GIT_REMOTE}}}"
razee.io/commit-sha: "{{TRAVIS_COMMIT}}"
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
- nonResourceURLs:
- '*'
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kapitan-rb
annotations:
razee.io/git-repo: "{{{GIT_REMOTE}}}"
razee.io/commit-sha: "{{TRAVIS_COMMIT}}"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: kapitan-sa
namespace: razee
---
apiVersion: v1
kind: ConfigMap
data:
s3download: "https://github.com/razee-io/S3Download/releases/download/0.0.1/resource.yaml"
metadata:
name: kapitan-delta-resource-uris
namespace: razee
annotations:
razee.io/git-repo: "{{{GIT_REMOTE}}}"
razee.io/commit-sha: "{{TRAVIS_COMMIT}}"
---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit 299de7b

Please sign in to comment.