Skip to content

Commit 4bc4545

Browse files
committed
Default TOKEN_NAMESPACE to openshift-operators
This way it does not need to be passed explicitely by a user in the default case. What happens is the secret will be in that namespace and the patterns-operator will copy it over to the namespaced argo once it is in place.
1 parent 629a37b commit 4bc4545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ endif
4646
# Set the secret name *and* its namespace when deploying from private repositories
4747
# The format of said secret is documented here: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#repositories
4848
TOKEN_SECRET ?=
49-
TOKEN_NAMESPACE ?=
49+
TOKEN_NAMESPACE ?= openshift-operators
5050

5151
ifeq ($(TOKEN_SECRET),)
5252
# SSH agents are not created for public repos (repos with no secret token) by the patterns operator so we convert to HTTPS

0 commit comments

Comments
 (0)