Skip to content

Commit

Permalink
switch to library
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Oct 23, 2023
1 parent 0acf59f commit 312e0b0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Charts/beamline-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# A Helm Chart for an IOC instance
apiVersion: v2
name: ioc-instance-beamline
name: ioc-instance

# this is replaced by command line arguments when `ec` invokes helm
version: 1.0.0

type: library
10 changes: 10 additions & 0 deletions Charts/beamline-chart/templates/_configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.ioc_name }}
labels:
app: {{ .Values.ioc_name }}
beamline: {{ .Values.beamline }}
ioc_version: {{ .Values.ioc_version | quote }}
is_ioc: "True"
data:
6 changes: 6 additions & 0 deletions Charts/beamline-chart/templates/_ioc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

{{ include "ioc-volume" . }}
---
{{ include "deployment" . }}
---
{{ include "configmap" . }}
Binary file added ioc-instance-1.0.0.tgz
Binary file not shown.

0 comments on commit 312e0b0

Please sign in to comment.