Skip to content

Commit

Permalink
Merge pull request vmware-tanzu#138 from chuckha/quickstart
Browse files Browse the repository at this point in the history
Quickstart updates
Signed-off-by: Jesse Hamilton [email protected]
  • Loading branch information
chuckha authored Nov 10, 2017
2 parents 0f6b10f + 7d546e0 commit 809354c
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 293 deletions.
6 changes: 3 additions & 3 deletions examples/ksonnet/components/00-rbac.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ local clusterRoleBinding =
crb.new() +
crb.mixin.metadata.mixinInstance(conf.metadata) +
# TODO: replace with `crb.mixinroleRef.kind("ClusterRole") when https://github.com/ksonnet/ksonnet-lib/issues/53 closes.
{roleRef: {kind: "ClusterRole"}} +
{ roleRef: { kind: "ClusterRole" } } +
crb.mixin.roleRef.apiGroup("rbac.authorization.k8s.io") +
crb.mixin.roleRef.name(conf.serviceAccount.name) +
crb.subjects([
# TODO: replace with `crb.subjectsType.kind("ServiceAccount")` when https://github.com/ksonnet/ksonnet-lib/issues/43 closes.
{kind: "ServiceAccount"} +
{ kind: "ServiceAccount" } +
crb.subjectsType.name(conf.serviceAccount.name) +
crb.subjectsType.namespace(conf.namespace),
]);
Expand All @@ -75,5 +75,5 @@ local optRbacObj =

k.core.v1.list.new([
namespace,
serviceaccount
serviceaccount,
] + optRbacObj)
Loading

0 comments on commit 809354c

Please sign in to comment.