Open LiilyZhang opened 8 months ago
namespace is hard-coded in agent-install.sh at https://github.com/open-horizon/anax/blob/master/agent-install/agent-install.sh#L3606:
agent-install.sh
local image_pull_secrets_length=$($KUBECTL get deployment agent -n agent-ns4 -o jsonpath='{.spec.template.spec.imagePullSecrets}' | jq length)
Should change to -n ${AGENT_NAMESPACE}
-n ${AGENT_NAMESPACE}
namespace is hard-coded in
agent-install.sh
at https://github.com/open-horizon/anax/blob/master/agent-install/agent-install.sh#L3606:local image_pull_secrets_length=$($KUBECTL get deployment agent -n agent-ns4 -o jsonpath='{.spec.template.spec.imagePullSecrets}' | jq length)
Should change to
-n ${AGENT_NAMESPACE}