@@ -6,7 +6,6 @@ metadata:
66 app : {{ template "osg-hosted-ce.name" . }}
77 release : {{ .Release.Name }}
88 instance : {{ .Values.Instance }}
9- instanceID : {{ .Values.SLATE.Instance.ID | quote }}
109 app.kubernetes.io/part-of : {{ .Chart.Name }}
1110 app.kubernetes.io/instance : {{ .Release.Name }}
1211spec :
5352 - name : osg-hosted-ce-{{ .Values.Instance }}-htcondor-ce-configuration
5453 configMap :
5554 name : osg-hosted-ce-{{ .Values.Instance }}-htcondor-ce-configuration
56- - name : osg-hosted-ce-{{ .Values.Instance }}-slate- scitokens
55+ - name : osg-hosted-ce-{{ .Values.Instance }}-scitokens
5756 configMap :
58- name : osg-hosted-ce-{{ .Values.Instance }}-slate- scitokens
57+ name : osg-hosted-ce-{{ .Values.Instance }}-scitokens
5958 - name : bosco-ssh-private-key-volume
6059 secret :
6160 secretName : {{ .Values.RemoteCluster.PrivateKeySecret }}
8887 - key : tls.key
8988 path : hostkey.pem
9089 mode : 0o400
91- {{ else }}
92- {{ if and .Values.HostCredentials.HostCertSecret .Values.HostCredentials.HostKeySecret }}
93- - name : osg-hosted-ce-hostcert-volume
94- secret :
95- secretName : {{ .Values.HostCredentials.HostCertSecret }}
96- items :
97- - key : host.cert
98- path : hostcert.pem
99- mode : 256
100- {{ end }}
101- {{ if .Values.HostCredentials.HostKeySecret }}
102- - name : osg-hosted-ce-hostkey-volume
103- secret :
104- secretName : {{ .Values.HostCredentials.HostKeySecret }}
105- items :
106- - key : host.key
107- path : hostkey.pem
108- mode : 256
109- {{ end }}
11090 {{ end }}
11191 {{ if .Values.BoscoOverrides.Enabled }}
11292 {{ if .Values.BoscoOverrides.GitKeySecret }}
@@ -162,17 +142,6 @@ spec:
162142 {{ if .Values.HostCredentials.HostCertKeySecret }}
163143 - name : osg-hosted-ce-hostcertkey-volume
164144 mountPath : /etc/grid-security-orig.d
165- {{ else }}
166- {{ if and .Values.HostCredentials.HostCertSecret .Values.HostCredentials.HostKeySecret }}
167- - name : osg-hosted-ce-hostcert-volume
168- mountPath : /etc/grid-security/hostcert.pem
169- subPath : hostcert.pem
170- {{ end }}
171- {{ if .Values.HostCredentials.HostKeySecret }}
172- - name : osg-hosted-ce-hostkey-volume
173- mountPath : /etc/grid-security/hostkey.pem
174- subPath : hostkey.pem
175- {{ end }}
176145 {{ end }}
177146 {{ if .Values.Persistence.LogVolume}}
178147 - name : log-volume
@@ -186,21 +155,14 @@ spec:
186155 {{ end }}
187156 {{ end }}
188157 {{ if .Values.SciTokenRemoteUserMapping }}
189- - name : osg-hosted-ce-{{ .Values.Instance }}-slate- scitokens
190- mountPath : /etc/condor-ce/mapfiles.d/50-slate- scitokens.conf
191- subPath : 50-slate- scitokens.conf
158+ - name : osg-hosted-ce-{{ .Values.Instance }}-scitokens
159+ mountPath : /etc/condor-ce/mapfiles.d/50-scitokens.conf
160+ subPath : 50-scitokens.conf
192161 {{ end }}
193162 ports :
194163 - name : htcondor-ce
195164 containerPort : 9619
196165 protocol : TCP
197- {{ if or .Values.Dashboard.Enabled
198- ( and (not .Values.HostCredentials.HostCertKeySecret)
199- (not .Values.HostCredentials.HostCertSecret) ) }}
200- - name : http # needed to get a cert issued from Let's Encrypt
201- containerPort : 80
202- protocol : TCP
203- {{ end }}
204166 env :
205167 {{ if eq .Values.Networking.ServiceType "HostNetwork" }}
206168 - name : _CONDOR_NETWORK_HOSTNAME
@@ -225,10 +187,6 @@ spec:
225187 {{ else }}
226188 value : " false"
227189 {{ end }}
228- {{ if .Values.Dashboard.Enabled }}
229- - name : ENABLE_CE_VIEW
230- value : " true"
231- {{ end }}
232190 {{ if .Values.Debug.ContinueOnError }}
233191 - name : HOSTED_CE_CONTINUE_ON_ERROR
234192 value : " true"
0 commit comments