Skip to content

Commit

Permalink
Merge pull request #3998 from lsst-sqre/tickets/DM-47896-9
Browse files Browse the repository at this point in the history
tickets/DM-47896-9
  • Loading branch information
mareuter authored Dec 16, 2024
2 parents a3fb2a2 + 4f74c8f commit 466c81b
Show file tree
Hide file tree
Showing 17 changed files with 102 additions and 43 deletions.
12 changes: 11 additions & 1 deletion applications/eas/Chart.yaml → applications/envsys/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: eas
name: envsys
version: 1.0.0
description: Deployment for the Environmental Awareness Systems CSCs
dependencies:
Expand Down Expand Up @@ -126,6 +126,16 @@ dependencies:
version: 1.0.0
condition: dsm2-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: eas
version: 1.0.0
condition: eas.enabled
repository: file://../../charts/csc
- name: csc
alias: eas-sim
version: 1.0.0
condition: eas-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: epm1
version: 1.0.0
Expand Down
6 changes: 5 additions & 1 deletion applications/eas/README.md → applications/envsys/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# eas
# envsys

Deployment for the Environmental Awareness Systems CSCs

Expand All @@ -24,10 +24,14 @@ Deployment for the Environmental Awareness Systems CSCs
| dimm1.enabled | bool | `false` | Enable the DIMM:1 CSC |
| dimm2-sim.enabled | bool | `false` | Enable the DIMM:2 simulator CSC |
| dimm2.enabled | bool | `false` | Enable the DIMM:2 CSC |
| dream-sim.enabled | bool | `false` | Enable the DREAM simulator CSC |
| dream.enabled | bool | `false` | Enable the DREAM CSC |
| dsm1-sim.enabled | bool | `false` | Enable the DSM:1 simulator CSC |
| dsm1.enabled | bool | `false` | Enable the DSM:1 CSC |
| dsm2-sim.enabled | bool | `false` | Enable the DSM:2 simulator CSC |
| dsm2.enabled | bool | `false` | Enable the DSM:2 CSC |
| eas-sim.enabled | bool | `false` | Enable the EAS simulator CSC |
| eas.enabled | bool | `false` | Enable the EAS CSC |
| epm1-sim.enabled | bool | `false` | Enable the EPM:1 simulator CSC |
| epm1.enabled | bool | `false` | Enable the EPM:1 CSC |
| global.baseUrl | string | Set by Argo CD | Base URL for the environment |
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,14 @@ dsm2-sim:
cpu: 100m
memory: 900Mi

eas-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/eas
pullPolicy: Always
env:
RUN_ARG: --simulate

epm1-sim:
enabled: true
classifier: epm1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ dimm2-sim:
cpu: 230m
memory: 1070Mi

dream-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/dream
pullPolicy: Always
env:
RUN_ARG: --simulate

dsm1-sim:
enabled: true
image:
Expand Down Expand Up @@ -172,6 +180,14 @@ dsm2-sim:
cpu: 100m
memory: 900Mi

eas-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/eas
pullPolicy: Always
env:
RUN_ARG: --simulate

epm1-sim:
enabled: true
classifier: epm1
Expand Down
16 changes: 16 additions & 0 deletions applications/eas/values.yaml → applications/envsys/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ dimm2-sim:
# -- Enable the DIMM:2 simulator CSC
enabled: false

dream:
# -- Enable the DREAM CSC
enabled: false

dream-sim:
# -- Enable the DREAM simulator CSC
enabled: false

dsm1:
# -- Enable the DSM:1 CSC
enabled: false
Expand All @@ -86,6 +94,14 @@ dsm2-sim:
# -- Enable the DSM:2 simulator CSC
enabled: false

eas:
# -- Enable the EAS CSC
enabled: false

eas-sim:
# -- Enable the EAS simulator CSC
enabled: false

epm1:
# -- Enable the EPM:1 CSC
enabled: false
Expand Down
2 changes: 2 additions & 0 deletions applications/love/values-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ love-producer:
- name: dsm2
csc: DSM:2 --log-level 10
WEBSOCKET_HOST: love-nginx-service/love/manager/producers/ws/subscription
- name: eas
csc: EAS:0 --log-level 10
- name: electrometer101
csc: Electrometer:101 --log-level 10
WEBSOCKET_HOST: love-nginx-service/love/manager/producers/ws/subscription
Expand Down
3 changes: 3 additions & 0 deletions applications/love/values-tucson-teststand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ love-producer:
- name: dsm2
csc: DSM:2 --log-level 10
WEBSOCKET_HOST: love-nginx-service/love/manager/producers/ws/subscription
- name: eas
csc: EAS:0 --log-level 10
WEBSOCKET_HOST: love-nginx-service/love/manager/producers/ws/subscription
- name: epm1
csc: EPM:1 --log-level 10
WEBSOCKET_HOST: love-nginx-service/love/manager/producers/ws/subscription
Expand Down
18 changes: 0 additions & 18 deletions docs/applications/eas/index.rst

This file was deleted.

12 changes: 0 additions & 12 deletions docs/applications/eas/values.md

This file was deleted.

18 changes: 18 additions & 0 deletions docs/applications/envsys/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.. px-app:: envsys

#################################################################
envsys — Environmental Awareness System Control System Components
#################################################################

The envsys application houses CSCs associated with the Environmental Awareness System. Simulation environments use simulators for all CSCs except the WeatherForecast CSC.

.. jinja:: envsys
:file: applications/_summary.rst.jinja

Guides
======

.. toctree::
:maxdepth: 1

values
12 changes: 12 additions & 0 deletions docs/applications/envsys/values.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```{px-app-values} envsys
```

# EnvSys Helm values reference

Helm values reference table for the {px-app}`envsys` application.

```{include} ../../../applications/envsys/README.md
---
start-after: "## Values"
---
```
2 changes: 1 addition & 1 deletion docs/applications/telescope.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Argo CD project: ``telescope``
auxtel/index
calsys/index
control-system-test/index
eas/index
envsys/index
love/index
obsenv-management/index
obssys/index
Expand Down
2 changes: 1 addition & 1 deletion environments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
| applications.cm-service | bool | `false` | Enable the cm-service application |
| applications.control-system-test | bool | `false` | Enable the control-system-test application |
| applications.datalinker | bool | `false` | Eanble the datalinker application |
| applications.eas | bool | `false` | Enable the eas control system application |
| applications.envsys | bool | `false` | Enable the envsys control system application |
| applications.exposurelog | bool | `false` | Enable the exposurelog application |
| applications.fastapi-bootcamp | bool | `false` | Enable the fastapi-bootcamp application |
| applications.filestore-backup | bool | `false` | Enable the filestore-backup application |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{{- if (index .Values "applications" "eas") -}}
{{- if (index .Values "applications" "envsys") -}}
apiVersion: v1
kind: Namespace
metadata:
name: "eas"
name: "envsys"
spec:
finalizers:
- "kubernetes"
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: "eas"
name: "envsys"
namespace: "argocd"
finalizers:
- "resources-finalizer.argocd.argoproj.io"
spec:
destination:
namespace: "eas"
namespace: "envsys"
server: "https://kubernetes.default.svc"
project: "telescope"
source:
path: "applications/eas"
path: "applications/envsys"
repoURL: {{ .Values.repoUrl | quote }}
targetRevision: {{ .Values.targetRevision | quote }}
helm:
Expand All @@ -32,7 +32,7 @@ spec:
- name: "global.vaultSecretsPath"
value: {{ .Values.vaultPathPrefix | quote }}
- name: "global.controlSystem.appNamespace"
value: "eas"
value: "envsys"
- name: "global.controlSystem.imageTag"
value: {{ .Values.controlSystem.imageTag | quote }}
- name: "global.controlSystem.siteTag"
Expand Down
2 changes: 1 addition & 1 deletion environments/values-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ applications:
calsys: true
consdb: true
control-system-test: true
eas: true
envsys: true
exposurelog: true
love: true
mobu: true
Expand Down
4 changes: 2 additions & 2 deletions environments/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ applications:
# -- Eanble the datalinker application
datalinker: false

# -- Enable the eas control system application
eas: false
# -- Enable the envsys control system application
envsys: false

# -- Enable the exposurelog application
exposurelog: false
Expand Down

0 comments on commit 466c81b

Please sign in to comment.