Skip to content

Commit

Permalink
ea-test-01 rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jan 31, 2024
1 parent 0d2c189 commit 4e56e6c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion helm/configmap/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
apiVersion: v2
name: configmap

version: 1.0.1
version: 1.0.0

type: application
1 change: 1 addition & 0 deletions helm/configmap/config/world1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello
1 change: 1 addition & 0 deletions helm/configmap/config/world2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello
1 change: 1 addition & 0 deletions helm/configmap/services
8 changes: 2 additions & 6 deletions helm/configmap/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ metadata:
app: {{ .Release.Name }}
data:

{{- /*
add the contents of every file in the config folder of this IOC helm chart
into the config map - The files must be text only.
*/ -}}

{{ (.Files.Glob "../../*").AsConfig | indent 2 }}
# ---- contents of the ioc instance config folder ----------------------------
{{ (.Files.Glob "services/bl47p-ea-test-01/config/**").AsConfig | indent 2 }}
6 changes: 3 additions & 3 deletions services/bl47p-ea-test-01/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ type: application

dependencies:
- name: configmap
version: "1.0.1"
repository: file://helm/configmap
version: "1.0.0"
repository: file://../../helm/configmap
- name: beamline
version: "1.0.0"
repository: file://helm/beamline
repository: file://../../helm/beamline
2 changes: 1 addition & 1 deletion services/bl47p-ea-test-01/config/ioc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2024.1.2/ibek.ioc.schema.json
ioc_name: "{{ env.ioc_name }}"
ioc_name: "I HAVE NO NAME"

description: Example simulated camera for BL47P

Expand Down
1 change: 0 additions & 1 deletion services/bl47p-ea-test-01/helm

This file was deleted.

8 changes: 3 additions & 5 deletions services/bl47p-ea-test-01/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# global:
# ioc_name: bl47p-ea-test-01

ioc-instance:
image: ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.1.2
beamline:
ioc-instance:
image: ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.1.2

0 comments on commit 4e56e6c

Please sign in to comment.