-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Great project. We found this out of necessity as noted in the README. One issue we encountered though with recent versions of the agent is the key within the token secret is gateway-key and not value:
-OUTPUT=$(kubectl --namespace $NAMESPACE create secret generic ${TOKEN_SECRET} --from-literal value="GatewayKey ${TOKEN}" --dry-run=client -o yaml 2>&1 | kubectl --namespace $NAMESPACE apply -f - 2>&1) || {
+OUTPUT=$(kubectl --namespace $NAMESPACE create secret generic ${TOKEN_SECRET} --from-literal gateway-key="GatewayKey ${TOKEN}" --dry-run=client -o yaml 2>&1 | kubectl --namespace $NAMESPACE apply -f - 2>&1) || {
Making the above change and the script worked for us.
Metadata
Metadata
Assignees
Labels
No labels