Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions solution-arsenal-discovery/component-constructor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ components:
type: ociArtifact
imageReference: ghcr.io/opendefensecloud/charts/solar-discovery:0.1.1

# Helm Values Template for SolutionArsenal Discovery Helm Chart
- name: helm-values-template
Comment thread
olzemal marked this conversation as resolved.
type: yaml
labels:
- name: opendefense.cloud/helm/values-for
value: solution-arsenal-discovery-chart
relation: local
input:
type: file
path: values.yaml.tpl

# Solar Discovery Container Image
- name: solution-arsenal-discovery-image
type: ociImage
Expand Down
4 changes: 4 additions & 0 deletions solution-arsenal-discovery/values.yaml.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{- $discovery := index .OCIResources "solution-arsenal-discovery-image" }}
image:
repository: {{ $discovery.Host }}/{{ $discovery.Repository }}
tag: {{ $discovery.Tag }}
11 changes: 11 additions & 0 deletions solution-arsenal/component-constructor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ components:
type: ociArtifact
imageReference: ghcr.io/opendefensecloud/charts/solar:0.1.1

# Helm Values Template for SolutionArsenal Helm Chart
- name: solution-arsenal-helm-values-template
Comment thread
olzemal marked this conversation as resolved.
type: yaml
labels:
- name: opendefense.cloud/helm/values-for
value: solution-arsenal-chart
relation: local
input:
type: file
path: values.yaml.tpl

# API Server Container Image
- name: solution-arsenal-apiserver-image
type: ociImage
Expand Down
23 changes: 23 additions & 0 deletions solution-arsenal/values.yaml.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{- $apiserver := index .OCIResources "solution-arsenal-apiserver-image" }}
apiserver:
image:
repository: {{ $apiserver.Host }}/{{ $apiserver.Repository }}
tag: {{ $apiserver.Tag }}

{{- $renderer := index .OCIResources "solution-arsenal-renderer-image" }}
renderer:
image:
repository: {{ $renderer.Host }}/{{ $renderer.Repository }}
tag: {{ $renderer.Tag }}

{{- $controller := index .OCIResources "solution-arsenal-controller-manager-image" }}
controller:
image:
repository: {{ $controller.Host }}/{{ $controller.Repository }}
tag: {{ $controller.Tag }}

{{- $etcd := index .OCIResources "etcd-image" }}
etcd:
image:
repository: {{ $etcd.Host }}/{{ $etcd.Repository }}
tag: {{ $etcd.Tag }}