Skip to content

Commit

Permalink
Merge pull request #3997 from lsst-sqre/tickets/DM-48144
Browse files Browse the repository at this point in the history
DM-48144: Add config files to BTS for EAS and sensor CSCs
  • Loading branch information
aibsen authored Dec 16, 2024
2 parents 48c3083 + 1589456 commit a3fb2a2
Show file tree
Hide file tree
Showing 7 changed files with 299 additions and 0 deletions.
1 change: 1 addition & 0 deletions applications/auxtel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Deployment for the Auxiliary Telescope CSCs
| global.controlSystem.topicName | string | Set by ArgoCD | Topic name tag for the control system deployment |
| global.host | string | Set by Argo CD | Host name for ingress |
| global.vaultSecretsPath | string | Set by Argo CD | Base path for Vault secrets |
| atbuilding.enabled | bool | `false` | Enable the ATBuilding CSC |
| atdome-sim.enabled | bool | `false` | Enable the ATDome simulator CSC |
| atdome.enabled | bool | `false` | Enable the ATDome CSC |
| athexapod-sim.enabled | bool | `false` | Enable the ATHexapod simulator CSC |
Expand Down
4 changes: 4 additions & 0 deletions applications/auxtel/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ hexapod-sim:
# -- Enable the hexapod controller simulator
enabled: false

atbuilding:
# -- Enable the ATBuilding CSC
enabled: false

atdome:
# -- Enable the ATDome CSC
enabled: false
Expand Down
100 changes: 100 additions & 0 deletions applications/calsys/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,113 @@ dependencies:
- name: csc_shared
version: 1.0.0
repository: file://../../charts/csc_shared
- name: csc
alias: cbp
version: 1.0.0
condition: cbp.enabled
repository: file://../../charts/csc
- name: csc
alias: cbp-sim
version: 1.0.0
condition: cbp-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: electrometer101
version: 1.0.0
condition: electrometer101.enabled
repository: file://../../charts/csc
- name: csc
alias: electrometer101-sim
version: 1.0.0
condition: electrometer101-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: electrometer102
version: 1.0.0
condition: electrometer102.enabled
repository: file://../../charts/csc
- name: csc
alias: electrometer102-sim
version: 1.0.0
condition: electrometer102-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: electrometer201
version: 1.0.0
condition: electrometer201.enabled
repository: file://../../charts/csc
- name: csc
alias: electrometer201-sim
version: 1.0.0
condition: electrometer201-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: gcheaderservice1
version: 1.0.0
condition: gcheaderservice1.enabled
repository: file://../../charts/csc
- name: csc
alias: ledprojector
version: 1.0.0
condition: ledprojector.enabled
repository: file://../../charts/csc
- name: csc
alias: ledprojector-sim
version: 1.0.0
condition: ledprojector-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage101
version: 1.0.0
condition: linearstage101.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage101-sim
version: 1.0.0
condition: linearstage101-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage102
version: 1.0.0
condition: linearstage102.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage102-sim
version: 1.0.0
condition: linearstage102-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage103
version: 1.0.0
condition: linearstage103.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage103-sim
version: 1.0.0
condition: linearstage103-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage104
version: 1.0.0
condition: linearstage104.enabled
repository: file://../../charts/csc
- name: csc
alias: linearstage104-sim
version: 1.0.0
condition: linearstage104-sim.enabled
repository: file://../../charts/csc
- name: csc
alias: simulation-gencam
version: 1.0.0
condition: simulation-gencam.enabled
repository: file://../../charts/csc
- name: csc
alias: tunablelaser
version: 1.0.0
condition: tunablelaser.enabled
repository: file://../../charts/csc
- name: csc
alias: tunablelaser-sim
version: 1.0.0
condition: tunablelaser-sim.enabled
repository: file://../../charts/csc
10 changes: 10 additions & 0 deletions applications/calsys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Deployment for the Calibration System CSCs

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| cbp.enabled | bool | `false` | Enable the CBP:0 CSC |
| electrometer101.enabled | bool | `false` | Enable the Electrometer:101 CSC |
| electrometer102.enabled | bool | `false` | Enable the Electrometer:102 CSC |
| electrometer201.enabled | bool | `false` | Enable the Electrometer:201 CSC |
| gcheaderservice1.enabled | bool | `false` | Enable the GCHeaderService:1 CSC |
| global.baseUrl | string | Set by Argo CD | Base URL for the environment |
| global.controlSystem.appNamespace | string | Set by ArgoCD | Application namespace for the control system deployment |
Expand All @@ -18,4 +22,10 @@ Deployment for the Calibration System CSCs
| global.controlSystem.topicName | string | Set by ArgoCD | Topic name tag for the control system deployment |
| global.host | string | Set by Argo CD | Host name for ingress |
| global.vaultSecretsPath | string | Set by Argo CD | Base path for Vault secrets |
| ledprojector.enabled | bool | `false` | Enabled the LedProjector:0 CSC |
| linearstage101.enabled | bool | `false` | Enable the LinearStage:101 CSC |
| linearstage102.enabled | bool | `false` | Enable the LinearStage:102 CSC |
| linearstage103.enabled | bool | `false` | Enable the LinearStage:103 CSC |
| linearstage104.enabled | bool | `false` | Enable the LinearStage:104 CSC |
| simulation-gencam.enabled | bool | `false` | Enabled the GenericCamera:1 CSC |
| tunablelaser.enabled | bool | `false` | Enabled the TunableLaser:0 CSC |
107 changes: 107 additions & 0 deletions applications/calsys/values-base.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
cbp-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/cbp
pullPolicy: Always
env:
RUN_ARG: --simulate

electrometer101-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/electrometer
pullPolicy: Always
env:
RUN_ARG: 101 --simulate
envSecrets:
- name: AWS_ACCESS_KEY_ID
key: aws-access-key-id
- name: AWS_SECRET_ACCESS_KEY
key: aws-secret-access-key
- name: MYS3_ACCESS_KEY
key: aws-access-key-id
- name: MYS3_SECRET_KEY
key: aws-secret-access-key

electrometer102-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/electrometer
pullPolicy: Always
env:
RUN_ARG: 102 --simulate
envSecrets:
- name: AWS_ACCESS_KEY_ID
key: aws-access-key-id
- name: AWS_SECRET_ACCESS_KEY
key: aws-secret-access-key
- name: MYS3_ACCESS_KEY
key: aws-access-key-id
- name: MYS3_SECRET_KEY
key: aws-secret-access-key

electrometer201-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/electrometer
pullPolicy: Always
env:
RUN_ARG: 201 --simulate
envSecrets:
- name: AWS_ACCESS_KEY_ID
key: aws-access-key-id
- name: AWS_SECRET_ACCESS_KEY
key: aws-secret-access-key
- name: MYS3_ACCESS_KEY
key: aws-access-key-id
- name: MYS3_SECRET_KEY
key: aws-secret-access-key

gcheaderservice1:
enabled: true
image:
Expand All @@ -24,6 +83,46 @@ gcheaderservice1:
cpu: 14m
memory: 130Mi

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

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

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

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

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

simulation-gencam:
enabled: true
classifier: genericcamera1
Expand Down Expand Up @@ -52,3 +151,11 @@ simulation-gencam:
requests:
cpu: 12m
memory: 120Mi

tunablelaser-sim:
enabled: true
image:
repository: ts-dockerhub.lsst.org/tunablelaser
pullPolicy: Always
env:
RUN_ARG: --simulate
40 changes: 40 additions & 0 deletions applications/calsys/values.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,51 @@
cbp:
# -- Enable the CBP:0 CSC
enabled: false

electrometer101:
# -- Enable the Electrometer:101 CSC
enabled: false

electrometer102:
# -- Enable the Electrometer:102 CSC
enabled: false

electrometer201:
# -- Enable the Electrometer:201 CSC
enabled: false

gcheaderservice1:
# -- Enable the GCHeaderService:1 CSC
enabled: false

ledprojector:
# -- Enabled the LedProjector:0 CSC
enabled: false

linearstage101:
# -- Enable the LinearStage:101 CSC
enabled: false

linearstage102:
# -- Enable the LinearStage:102 CSC
enabled: false

linearstage103:
# -- Enable the LinearStage:103 CSC
enabled: false

linearstage104:
# -- Enable the LinearStage:104 CSC
enabled: false

simulation-gencam:
# -- Enabled the GenericCamera:1 CSC
enabled: false

tunablelaser:
# -- Enabled the TunableLaser:0 CSC
enabled: false

# The following will be set by parameters injected by Argo CD and should not
# be set in the individual environment values files.
global:
Expand Down
Loading

0 comments on commit a3fb2a2

Please sign in to comment.