Skip to content

Commit

Permalink
Update NOTES.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Oct 2, 2023
1 parent 44f532d commit 77e8140
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
14 changes: 7 additions & 7 deletions diracx/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{- if .Values.developer.enabled -}}
{{- if .Values.developer.enabled }}

🚧 Chart has been installed in developer mode.

ℹ️ To interact with the cluster directly using kubectl/helm you'll need to set the
ℹ️ To interact with the cluster directly using kubectl/helm you'll need to set the
first following environment variables:

export KUBECONFIG={{ .Values.developer.demoDir }}/kube.conf
Expand All @@ -11,23 +11,23 @@ first following environment variables:

Then see the chart README for more information on how to use kubectl/helm.

ℹ️ To use the demo with the DiracX client set:
ℹ️ To use the demo with the DiracX client set:

export DIRACX_URL={{ .Values.developer.urls.diracx }}

ℹ️ To access the interactive API documentation visit:
ℹ️ To access the interactive API documentation visit:

{{ .Values.developer.urls.diracx }}/docs

ℹ️ When prompted to login the credentials are:
ℹ️ When prompted to login the credentials are:

Username: [email protected]
Password: password

{{- else -}}
{{ else }}

Installed in chart production mode.

TODO: Add notes...

{{- end -}}
{{ end -}}
12 changes: 0 additions & 12 deletions run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,18 +277,6 @@ else
if "${demo_dir}/kubectl" wait --for=condition=ready pod --selector=app.kubernetes.io/name=diracx --timeout=300s; then
printf "%b %b %b Pods are ready! %b %b %b\n" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}"
touch "${demo_dir}/.success"

echo ""
printf "%b To interact with the cluster:\n" "${INFO_EMOJI}"
echo "export KUBECONFIG=${KUBECONFIG}"
echo "export HELM_DATA_HOME=${HELM_DATA_HOME}"
echo "export PATH=\${PATH}:${demo_dir}"
echo ""
printf "%b You can access swagger at http://%s:8000/docs\n" "${INFO_EMOJI}" "${machine_hostname}"
echo "To login, use the OAuth Authroization Code flow, and enter the following credentials"
echo "in the DEX web interface"
echo "Username: [email protected]"
echo "Password: password"
else
printf "%b Installation did not start sucessfully!\n" ${WARN_EMOJI}
echo "Installation did not start sucessfully!" >> "${demo_dir}/.failed"
Expand Down

0 comments on commit 77e8140

Please sign in to comment.