Skip to content

Commit

Permalink
111 allow htcondor tags to be something other than latest (#115)
Browse files Browse the repository at this point in the history
* Made JupyterLab image mutable

* Made condor-manager image mutable

* Made condor-worker image version mutable

* Made condor-manager image version mutable

* Made jupyterlab image version mutable
  • Loading branch information
muali14 authored May 2, 2023
1 parent b68e007 commit d1b516d
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/condor-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "10.0.2"
description: HTCondor Central Manager Node
name: condor-manager
version: 0.2.2
version: 0.2.3
2 changes: 1 addition & 1 deletion charts/condor-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: condor-manager
image: hub.opensciencegrid.org/slate/condor-manager:latest
image: hub.opensciencegrid.org/slate/condor-manager:{{ .Values.ContainerTags.CondorManagerImageVer }}
imagePullPolicy: "Always"
ports:
- name: condor-shared
Expand Down
4 changes: 4 additions & 0 deletions charts/condor-manager/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Generates app name as "connect-submit-[Instance]"
Instance: ""

#This is global config to specify which container image to pull. The image tag doesn't necessarily indicate or match the app version in the image.
ContainerTags:
CondorManagerImageVer: '10.0.2'

CondorConfig:
# Extra configuration can be added via the ConfigFile parameter
# ConfigFile: |+
Expand Down
2 changes: 1 addition & 1 deletion charts/condor-worker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "10.0.2"
description: HTCondor distributed high-throughput computing system
name: condor-worker
version: 0.10.2
version: 0.10.3
4 changes: 2 additions & 2 deletions charts/condor-worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ spec:
containers:
{{ if .Values.HTTPLogger.Enabled }}
- name: logging-sidecar
image: "nginx:1.15.9"
image: nginx:{{ .Values.ContainerTags.NginxImageVer }}
command: ["/bin/bash"]
args: ["/usr/local/bin/start-nginx.sh"]
imagePullPolicy: IfNotPresent
Expand All @@ -121,7 +121,7 @@ spec:
subPath: start-nginx.sh
{{ end }}
- name: condor-worker-worker
image: hub.opensciencegrid.org/slate/condor-worker:latest
image: hub.opensciencegrid.org/slate/condor-worker:{{ .Values.ContainerTags.CondorWorkerImageVer }}
imagePullPolicy: "Always"
volumeMounts:
{{ if .Values.HTTPLogger.Enabled }}
Expand Down
5 changes: 5 additions & 0 deletions charts/condor-worker/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Generates app name as "condor-worker-[Instance]"
Instance: ""

#This is global config to specify which container image to pull. The image tag doesn't necessarily indicate or match the app version in the image.
ContainerTags:
NginxImageVer: '1.15.9'
CondorWorkerImageVer: '10.0.2'

HTTPLogger:
Enabled: false
# You can refer to a password that has been hashed by `openssl passwd -apr1`
Expand Down
2 changes: 1 addition & 1 deletion charts/jupyterlab/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: "v2"
name: "jupyterlab"
version: 0.5.2
version: 0.5.3
appVersion: 3.6.1
description: "A JupyterLab with a condor-submit capability"
type: application
2 changes: 1 addition & 1 deletion charts/jupyterlab/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spec:
{{ end }}
containers:
- name: scipy-notebook
image: hub.opensciencegrid.org/slate/jupyterlab:latest
image: hub.opensciencegrid.org/slate/jupyterlab:{{ .Values.ContainerTags.JupyterLabImageVer }}
imagePullPolicy: "Always"
workingDir: /home/{{ .Values.Jupyter.NB_USER }}
env:
Expand Down
4 changes: 4 additions & 0 deletions charts/jupyterlab/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# used to manage multiple instances of the same application
Instance: ''

#This is global config to specify which container image to pull. The image tag doesn't necessarily indicate or match the app version in the image.
ContainerTags:
JupyterLabImageVer: '0.2.1'

# Persistent Volume mounted as 'data' in the user's home directory
PersistentVolume:

Expand Down

0 comments on commit d1b516d

Please sign in to comment.