Skip to content

Commit

Permalink
Start Prometheus with admin flags
Browse files Browse the repository at this point in the history
The cluster roles entries in the sample configuration requires ` --as=admin --as-group=system:masters`
  • Loading branch information
jkohen authored Jan 3, 2019
1 parent 98e9ffc commit 2515935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube/full/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ envsubst < prometheus.yaml > _prometheus.yaml.tmp
envsubst < node-exporter.yaml > _node-exporter.yaml.tmp
envsubst < kube-state-metrics.yaml > _kube-state-metrics.yaml.tmp

kubectl apply -f _prometheus.yaml.tmp
kubectl apply -f _prometheus.yaml.tmp --as=admin --as-group=system:masters
kubectl apply -f _node-exporter.yaml.tmp
kubectl apply -f _kube-state-metrics.yaml.tmp --as=admin --as-group=system:masters

Expand Down

0 comments on commit 2515935

Please sign in to comment.