Skip to content

Commit

Permalink
Remove secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Kulhanek authored and Wolfgang Kulhanek committed Dec 11, 2023
1 parent b968cd0 commit 93ce656
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 43 deletions.
2 changes: 1 addition & 1 deletion charts/showroom-single-pod/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.7
version: 0.0.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
39 changes: 14 additions & 25 deletions charts/showroom-single-pod/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ spec:
image: {{ .Values.content.image }}
imagePullPolicy: {{ .Values.content.imagePullPolicy }}
env:
- name: GIT_REPO_URL
value: {{ .Values.content.repoUrl }}
- name: GIT_REPO_REF
value: {{ .Values.content.repoRef }}
- name: ANTORA_PLAYBOOK
value: {{ .Values.content.antoraPlaybook }}
- name: GIT_REPO_URL
value: {{ .Values.content.repoUrl }}
- name: GIT_REPO_REF
value: {{ .Values.content.repoRef }}
- name: ANTORA_PLAYBOOK
value: {{ .Values.content.antoraPlaybook }}
volumeMounts:
- name: user-data
mountPath: /user_data/
- name: showroom
mountPath: /showroom/
- name: user-data
mountPath: /user_data/
- name: showroom
mountPath: /showroom/
ports:
- containerPort: 8000
protocol: TCP
Expand All @@ -68,17 +68,6 @@ spec:
- name: terminal
image: {{ .Values.terminal.image }}
imagePullPolicy: IfNotPresent
# args:
# - --base={{ .Values.terminal.wetty.base }}
# - --port=8001
# - --allow-iframe
# {{- if .Values.terminal.wetty.autoSshToBastion }}
# - --ssh-host={{ .Values.terminal.wetty.sshHost }}
# - --ssh-port={{ .Values.terminal.wetty.sshPort }}
# - --ssh-user={{ .Values.terminal.wetty.sshUser }}
# - --ssh-auth={{ .Values.terminal.wetty.sshAuth }}
# - --ssh-pass={{ .Values.terminal.wetty.sshPass }}
# {{- end }}
env:
- name: NAMESPACE
valueFrom:
Expand All @@ -87,11 +76,11 @@ spec:
- name: GUID
value: "{{ .Values.guid }}"
volumeMounts:
- name: lab-user-home
mountPath: /home/lab-user
- name: lab-user-home
mountPath: /home/lab-user
ports:
- containerPort: 7681
protocol: TCP
- containerPort: 7681
protocol: TCP
resources:
{{- toYaml .Values.terminal.resources | nindent 10 }}

Expand Down
8 changes: 0 additions & 8 deletions charts/showroom-single-pod/templates/terminal/secret.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions charts/showroom-single-pod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,6 @@ terminal:
setup: true
image: quay.io/rhpds/openshift-showroom-terminal-ocp:latest
name: terminal
# wetty:
# autoSshToBastion: false
# base: '/wetty/'
# sshHost: shared-410-bastion.openshift.redhatworkshops.io
# sshPort: 22
# sshUser: ec2-user
# sshAuth: password
# sshPass: password
# sshKey: keyfile -- not yet supported
serviceAccount: showroom-terminal
resources:
limits:
Expand Down

0 comments on commit 93ce656

Please sign in to comment.