Skip to content

Commit

Permalink
Merge pull request #25 from kinvolk/schu/misc-updates
Browse files Browse the repository at this point in the history
Small updates
  • Loading branch information
schu authored Sep 11, 2018
2 parents 887427d + 8fd8c66 commit ba674e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ For example:
```
$ kubectl apply -f example/example-sensu-cluster.yaml
$ ./example/restore-operator/restore-backup --cluster-name=new-sensu-cluster --aws-bucket-name=YOUR_BUCKET --backup-name=sensu-cluster-backup-1529593491
$ ./example/restore-operator/restore-backup --cluster-name=example-sensu-cluster --aws-bucket-name=YOUR_BUCKET --backup-name=sensu-cluster-backup-1529593491
Restore of cluster 'example-sensu-cluster' with backup named 'sensu-cluster-backup-1529593491'
sensurestore.sensu.io "example-sensu-cluster" created
```
Expand Down
2 changes: 1 addition & 1 deletion example/backup-operator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
template:
metadata:
labels:
name: sensu-backup-operator
name: sensu-operator
spec:
containers:
- name: sensu-backup-operator
Expand Down
4 changes: 2 additions & 2 deletions example/rbac/create-role
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ sed \
-e "s/<ROLE_NAME>/${ROLE_NAME}/g" \
-e "s/<NAMESPACE>/${NAMESPACE}/g" \
"${SENSU_OPERATOR_ROOT}/example/rbac/cluster-role-template.yaml" |
kubectl create -f -
kubectl apply -f -

echo "Creating role binding with ROLE_NAME=${ROLE_NAME}, ROLE_BINDING_NAME=${ROLE_BINDING_NAME}, NAMESPACE=${NAMESPACE}"
sed \
-e "s/<ROLE_NAME>/${ROLE_NAME}/g" \
-e "s/<ROLE_BINDING_NAME>/${ROLE_BINDING_NAME}/g" \
-e "s/<NAMESPACE>/${NAMESPACE}/g" \
"${SENSU_OPERATOR_ROOT}/example/rbac/cluster-role-binding-template.yaml" |
kubectl create -f -
kubectl apply -f -

0 comments on commit ba674e6

Please sign in to comment.