Skip to content

Commit

Permalink
add kubeteach to v0.2.0 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
dergeberl authored Dec 18, 2021
1 parent 29770ce commit 0fb79f1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/exerciseset1/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apiVersion: v2
name: kubeteach-exerciseset1
description: learn kubernetes in kuberenetes
type: application
version: 0.1.2
appVersion: "v0.1.5-alpha"
version: 0.1.3
appVersion: "v0.2.0-alpha"
maintainers:
- name: dergeberl
url: https://github.com/dergeberl
dependencies:
- name: kubeteach-core
repository: 'https://dergeberl.github.io/kubeteach-charts'
version: "0.1.2"
version: "0.1.4"
alias: kubeteach
17 changes: 17 additions & 0 deletions charts/exerciseset1/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Thank you for installing {{ .Chart.Name }}. You can list your Task with:

kubectl get tasks -n {{ .Release.Namespace }}
{{ if .Values.kubeteach.dashboard.enabled }}
The Dashboard is enabled. DO NOT MAKE IT AVAILABLE VIA INTERNET!
You can use it with the following command (to forward a local port):

kubectl port-forward -n {{ .Release.Namespace}} service/kubeteach-dashboard 8080:80

Now you can access the dashboard via http://localhost:8080
Username: {{ .Values.kubeteach.dashboard.credentials.username }}
Password:
{{- $secret := (lookup "v1" "Secret" .Release.Namespace "kubeteach" ) -}}
{{- if and $secret.data (not .Values.kubeteach.webterminal.credentials.password) -}}
{{ index $secret "data" "password" | b64dec }}
{{- end -}}
{{- end}}

0 comments on commit 0fb79f1

Please sign in to comment.