Skip to content

Commit

Permalink
Merge pull request kubernetes-retired#338 from danehans/fed_cluster_role
Browse files Browse the repository at this point in the history
Adds FederatedClusterRole Examples and Test Fixture
  • Loading branch information
k8s-ci-robot authored Nov 2, 2018
2 parents 355fb6d + bbbab53 commit 8d4e3e5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
8 changes: 8 additions & 0 deletions example/sample1/federatedclusterrole-placement.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: generated.federation.k8s.io/v1alpha1
kind: FederatedClusterRolePlacement
metadata:
name: test-clusterrole
spec:
clusterNames:
- cluster2
- cluster1
13 changes: 13 additions & 0 deletions example/sample1/federatedclusterrole-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: generated.federation.k8s.io/v1alpha1
kind: FederatedClusterRole
metadata:
name: test-clusterrole
spec:
template:
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
13 changes: 13 additions & 0 deletions test/common/fixtures/clusterrole-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: generated.federation.k8s.io/v1alpha1
kind: FederatedClusterRole
metadata:
name: placeholder
spec:
template:
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'

0 comments on commit 8d4e3e5

Please sign in to comment.