Skip to content

Commit

Permalink
new structure for dcams
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jul 13, 2024
1 parent e1c9601 commit d164a46
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 50 deletions.
16 changes: 0 additions & 16 deletions .template/config/ioc.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions .template/values.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions services/.template/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ type: application

dependencies:
- name: ioc-instance
version: 3.6.0
#repository: "oci://ghcr.io/epics-containers"
repository: "file:///home/giles/work/ec-helm-charts/Charts/ioc-instance"
version: 4.0.0
repository: "oci://ghcr.io/epics-containers"
#repository: "file:///home/giles/work/ec-helm-charts/Charts/ioc-instance"
15 changes: 15 additions & 0 deletions services/bl45p-ea-dcam-01/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# A Helm Chart for an IOC instance
apiVersion: v2
name: ec-service

version: 1.0.0

type: application

dependencies:
- name: ioc-instance
version: 4.0.0
repository: "oci://ghcr.io/epics-containers"
- name: dls-aravis
version: 1.0.0
repository: "file://../dls-aravis"
10 changes: 10 additions & 0 deletions services/bl45p-ea-dcam-01/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Arguments to the shared ioc instance template dls-aravis
# This will make an IOC instance for an aravis camera with a standard set
# of Areadetector plugins.

dls-aravis:
P: BL45P-EA-MAP-01
ID: bl45p-ea-detector-01

ioc-instance:
image: ghcr.io/epics-containers/ioc-adaravis-runtime:2024.7.1
6 changes: 4 additions & 2 deletions .template/Chart.yaml → services/bl45p-ea-dcam-02/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ dependencies:
- name: ioc-instance
version: 4.0.0
#repository: "oci://ghcr.io/epics-containers"
# version 1.0.0
# repository: "file:///home/giles/work/ec-helm-charts/Charts/ioc-instance"
repository: "oci://ghcr.io/epics-containers"
- name: dls-aravis
version: 1.0.0
repository: "file://../dls-aravis"
10 changes: 10 additions & 0 deletions services/bl45p-ea-dcam-02/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Arguments to the shared ioc instance template dls-aravis
# This will make an IOC instance for an aravis camera with a standard set
# of Areadetector plugins.

dls-aravis:
P: BL45P-EA-DIFF-01
ID: bl45p-ea-detector-02

ioc-instance:
image: ghcr.io/epics-containers/ioc-adaravis-runtime:2024.7.1
1 change: 0 additions & 1 deletion services/bl45p-mo-brick-01/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ dependencies:
- name: ioc-instance
version: 4.0.0
repository: "oci://ghcr.io/epics-containers"
# repository: "file:///home/giles/work/ec-helm-charts/Charts/ioc-instance"
1 change: 0 additions & 1 deletion services/bl45p-mo-panda-01/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ dependencies:
- name: ioc-instance
version: 4.0.0
repository: "oci://ghcr.io/epics-containers"
# repository: "file:///home/giles/work/ec-helm-charts/Charts/ioc-instance"
1 change: 0 additions & 1 deletion services/bl45p-mo-panda-02/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ dependencies:
- name: ioc-instance
version: 4.0.0
repository: "oci://ghcr.io/epics-containers"
# repository: "file:///home/giles/work/ec-helm-charts/Charts/ioc-instance"
7 changes: 0 additions & 7 deletions services/dls-aravis/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@ name: ec-service
version: 1.0.0

type: application

dependencies:
- name: ioc-instance
version: 4.0.0
repository: "oci://ghcr.io/epics-containers"
#version: 1.0.0
#repository: "file:///home/giles/work/ec-helm-charts/Charts/ioc-instance"
17 changes: 6 additions & 11 deletions services/dls-aravis/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# yaml-language-server: $schema=https://github.com/marcelldls/ec-helm-charts/releases/download/3.4.4/ioc-instance.schema.json#/$defs/service
# This chart creates a configmap for a Diagnostics GigE camera with AD plugins.

# This parent chart creates an Diagnostics GigE camera with AD plugins
# The following values may be supplied, the first two are mandatory
# IMPORTANT: It's only purpose is to create a configmap with the necessary
# EPICS manifest ioc.yaml.
# It must be used as a peer to the ioc-instance chart that uses
# the configmap and makes the rest of the IOC resources in the cluster.

# TODO - this chart could easily also allow for configuring the count of
# each type of plugin you would like. Currently there is a fixed set of plugins.
# The following values may be supplied, the first two are mandatory

# PV Prefix
P:
Expand All @@ -14,9 +15,3 @@ ID:

# The type of camera - leave this value as AutoADGenICam for automatic discovery
CLASS: AutoADGenICam

# Child chart ioc-instance configures K8S manifisets for this IOC
# NOTE: the values for ioc-instance will be combined with beamline_values.yaml
# when this is being deployed from a beamline repo by ArgoCD
ioc-instance:
image: ghcr.io/epics-containers/ioc-adaravis-runtime:2024.7.1

0 comments on commit d164a46

Please sign in to comment.