File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,6 +65,11 @@ kubectl create secret generic agent-credentials \
6565 --from-literal=ARK_SUBDOMAIN=$ARK_SUBDOMAIN \
6666 --from-literal=ARK_DISCOVERY_API=$ARK_DISCOVERY_API
6767
68+ # Create sample secrets in the cluster
69+ kubectl create secret generic e2e-sample-secret-$( date ' +%s' ) \
70+ --namespace default \
71+ --from-literal=username=${RANDOM}
72+
6873helm upgrade agent " oci://${ARK_CHART} :NON_EXISTENT_TAG@${ARK_CHART_DIGEST} " \
6974 --install \
7075 --wait \
@@ -74,7 +79,9 @@ helm upgrade agent "oci://${ARK_CHART}:NON_EXISTENT_TAG@${ARK_CHART_DIGEST}" \
7479 --set pprof.enabled=true \
7580 --set fullnameOverride=disco-agent \
7681 --set " image.digest=${ARK_IMAGE_DIGEST} " \
82+ --set config.clusterName=" e2e-test-cluster" \
7783 --set config.clusterDescription=" A temporary cluster for E2E testing. Contact @wallrj-cyberark." \
84+ --set config.period=60s \
7885 --set-json " podLabels={\" disco-agent.cyberark.cloud/test-id\" : \" ${RANDOM} \" }"
7986
8087kubectl rollout status deployments/disco-agent --namespace " ${NAMESPACE} "
You can’t perform that action at this time.
0 commit comments