Skip to content

Commit 6b81697

Browse files
committed
Merge branch 'main' of https://github.com/opencadc/deployments into resource-fix
2 parents 4afe1a9 + 9c5ead6 commit 6b81697

File tree

13 files changed

+33
-6
lines changed

13 files changed

+33
-6
lines changed

docs/helm/cavern.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ $ curl https://myhost.example.com/cavern/availability
101101
| `deployment.resources.requests.cpu` | CPU request for the Cavern container | `500m` |
102102
| `deployment.resources.limits.memory` | Memory limit for the Cavern container | `1Gi` |
103103
| `deployment.resources.limits.cpu` | CPU limit for the Cavern container | `500m` |
104+
| `deployment.cavern.registryURL` | (list OR string) | `[]` IVOA Registry array of IVOA Registry locations or single IVOA Registry location |
104105
| `livenessProbe` | Configure the liveness probe check | `{}` |
105106
| `readinessProbe` | Configure the readiness probe check | `{}` |
106107
| `tolerations` | Tolerations to apply to the Cavern Pod | `[]` |

docs/helm/posix-mapper.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ See the [values.yaml](values.yaml) file for a complete list of configuration opt
146146
| `deployment.posixMapper.extraHosts` | List of extra hosts to be added to the POSIX Mapper deployment. See the `values.yaml` file for examples. | `[]` |
147147
| `deployment.posixMapper.extraEnv` | List of extra environment variables to be set in the POSIX Mapper service. See the `values.yaml` file for examples. | `[]` |
148148
| `deployment.posixMapper.resources` | Resource requests and limits for the POSIX Mapper API | `{}` |
149+
| `deployment.posixMapper.registryURL` | (list OR string) | `[]` IVOA Registry array of IVOA Registry locations or single IVOA Registry location |
149150
| `postgresql.maxActive` | Maximum number of active connections to the PostgreSQL database | `8` |
150151
| `postgresql.url` | Required JDBC URL for the PostgreSQL database | `""` |
151152
| `postgresql.schema` | Required Database schema to use for the POSIX Mapper | `""` |

docs/helm/skaha.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ The following table lists the configurable parameters for the Skaha Helm chart:
7979
| `deployment.skaha.serviceAccountName` | Name of the Service Account for the Skaha API Pod | `"skaha"` |
8080
| `deployment.skaha.identityManagerClass` | Java Class name for the [IdentityManager](https://github.com/opencadc/core/blob/main/cadc-util/src/main/java/ca/nrc/cadc/auth/IdentityManager.java) to use. Defaults to [`org.opencadc.auth.StandardIdentityManager`](https://github.com/opencadc/ac/blob/main/cadc-gms/src/main/java/org/opencadc/auth/StandardIdentityManager.java) for use with bearer tokens (OIDC) | `"org.opencadc.auth.StandardIdentityManager"` |
8181
| `deployment.skaha.apiVersion` | API version used to match the Ingress path (e.g. `/skaha/v0`) | `"v0"` |
82+
| `deployment.skaha.registryURL` | (list OR string) | `[]` IVOA Registry array of IVOA Registry locations or single IVOA Registry location |
8283
| `deployment.skaha.sessions.expirySeconds` | Expiry time, in seconds, for interactive sessions. Defaults to four (4) days. | `"345600"` |
8384
| `deployment.skaha.sessions.imagePullPolicy` | Image pull policy for all User Sessions. | `"Always"` |
8485
| `deployment.skaha.sessions.maxCount` | Maximum number of interactive sessions per user. Defaults to three (3). | `"3"` |

helm/applications/cavern/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ A Helm chart to install the VOSpace User Storage API (Cavern)
3333
| deployment.cavern.identityManagerClass | string | `"org.opencadc.auth.StandardIdentityManager"` | |
3434
| deployment.cavern.image | string | `"images.opencadc.org/platform/cavern:0.9.0"` | |
3535
| deployment.cavern.imagePullPolicy | string | `"IfNotPresent"` | |
36+
| deployment.cavern.registryURL | (list OR string) | `[]` | IVOA Registry array of IVOA Registry locations or single IVOA Registry location |
3637
| deployment.cavern.resourceID | string | `"ivo://example.org/cavern"` | |
3738
| deployment.cavern.resources.limits.cpu | string | `"500m"` | |
3839
| deployment.cavern.resources.limits.memory | string | `"1Gi"` | |

helm/applications/cavern/config/cadc-registry.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ ivo://ivoa.net/std/CDP#proxy-1.0 = ivo://cadc.nrc.ca/cred
1818
http://www.opencadc.org/std/posix#group-mapping-0.1 = {{ .Values.deployment.cavern.posixMapperResourceID }}
1919
http://www.opencadc.org/std/posix#user-mapping-0.1 = {{ .Values.deployment.cavern.posixMapperResourceID }}
2020

21-
ca.nrc.cadc.reg.client.RegistryClient.baseURL = {{ .Values.deployment.cavern.registryURL }}
21+
{{- $raw := .Values.deployment.cavern.registryURL -}}
22+
{{- $urls := ternary (list $raw) $raw (kindIs "string" $raw) -}}
23+
{{- range $urls }}
24+
ca.nrc.cadc.reg.client.RegistryClient.baseURL = {{ . }}
25+
{{- end }}

helm/applications/posix-mapper/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A Helm chart to install the UID/GID POSIX Mapper
2121
| deployment.posixMapper.minGID | int | `900000` | |
2222
| deployment.posixMapper.minUID | int | `10000` | |
2323
| deployment.posixMapper.oidcURI | string | `nil` | |
24-
| deployment.posixMapper.registryURL | string | `nil` | |
24+
| deployment.posixMapper.registryURL | (list OR string) | `[]` | IVOA Registry array of IVOA Registry locations or single IVOA Registry location |
2525
| deployment.posixMapper.resourceID | string | `"ivo://opencadc.org/posix-mapper"` | |
2626
| deployment.posixMapper.resources.limits.cpu | string | `"750m"` | |
2727
| deployment.posixMapper.resources.limits.memory | string | `"1500Mi"` | |

helm/applications/posix-mapper/config/cadc-registry.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ ivo://ivoa.net/sso#OpenID = {{ .Values.deployment.posixMapper.oidcURI | required
1313
http://www.opencadc.org/std/posix#group-mapping-0.1 = {{ .Values.deployment.posixMapper.resourceID | required "Please ensure deployment.posixMapper.resourceID is set." }}
1414
http://www.opencadc.org/std/posix#user-mapping-0.1 = {{ .Values.deployment.posixMapper.resourceID | required "Please ensure deployment.posixMapper.resourceID is set." }}
1515

16-
ca.nrc.cadc.reg.client.RegistryClient.baseURL = {{ .Values.deployment.posixMapper.registryURL | required "Please ensure deployment.posixMapper.registryURL is set." }}
16+
{{- $raw := .Values.deployment.posixMapper.registryURL -}}
17+
{{- $urls := ternary (list $raw) $raw (kindIs "string" $raw) -}}
18+
{{- range $urls }}
19+
ca.nrc.cadc.reg.client.RegistryClient.baseURL = {{ . | required "Please ensure deployment.posixMapper.registryURL is set." }}
20+
{{- end }}

helm/applications/science-portal/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ A Helm chart to install the Science Portal UI
2626
| deployment.sciencePortal.identityManagerClass | string | `"org.opencadc.auth.StandardIdentityManager"` | |
2727
| deployment.sciencePortal.image | string | `"images.opencadc.org/platform/science-portal:1.0.2"` | |
2828
| deployment.sciencePortal.imagePullPolicy | string | `"Always"` | |
29+
| deployment.sciencePortal.registryURL | (list OR string) | `[]` | IVOA Registry array of IVOA Registry locations or single IVOA Registry location |
2930
| deployment.sciencePortal.resources.limits.cpu | string | `"500m"` | |
3031
| deployment.sciencePortal.resources.limits.memory | string | `"500M"` | |
3132
| deployment.sciencePortal.resources.requests.cpu | string | `"500m"` | |

helm/applications/science-portal/config/cadc-registry.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ ivo://ivoa.net/sso#OpenID = {{ .Values.deployment.sciencePortal.gmsID }}
1919
# Ignore this, it's only here to satisfy the availability check.
2020
ivo://ivoa.net/std/CDP#proxy-1.0 = ivo://cadc.nrc.ca/cred
2121

22-
ca.nrc.cadc.reg.client.RegistryClient.baseURL = {{ .Values.deployment.sciencePortal.registryURL | required "Set the deployment.sciencePortal.registryURL value to the Registry URL" }}
22+
{{- $raw := .Values.deployment.sciencePortal.registryURL -}}
23+
{{- $urls := ternary (list $raw) $raw (kindIs "string" $raw) -}}
24+
{{- range $urls }}
25+
ca.nrc.cadc.reg.client.RegistryClient.baseURL = {{ . | required "Please ensure deployment.sciencePortal.registryURL is set." }}
26+
{{- end }}

helm/applications/skaha/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ A Helm chart to install the Skaha web service of the CANFAR Science Platform
3333
| deployment.skaha.init.imagePullPolicy | string | `"IfNotPresent"` | |
3434
| deployment.skaha.priorityClassName | string | `"uber-user-preempt-high"` | |
3535
| deployment.skaha.registryHosts | string | `"images.canfar.net"` | |
36+
| deployment.skaha.registryURL | (list OR string) | `[]` | IVOA Registry array of IVOA Registry locations or single IVOA Registry location |
3637
| deployment.skaha.resources.limits.cpu | string | `"2000m"` | |
3738
| deployment.skaha.resources.limits.memory | string | `"3Gi"` | |
3839
| deployment.skaha.resources.requests.cpu | string | `"1000m"` | |

0 commit comments

Comments
 (0)