Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit a0ca539

Browse files
committed
New update to stone soup chart
1 parent 799f471 commit a0ca539

File tree

7 files changed

+50
-8
lines changed

7 files changed

+50
-8
lines changed

charts/stone-soup-pipelines/Chart.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.1
18+
version: 0.1.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
2424
appVersion: "1.16.0"
25-
26-
maintainers:
27-
- name: claudiol
28-
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
{{- if .Release.IsInstall }}
2+
{{- if (lookup "v1" "Namespace" "{{ .Values.stoneSoupPipeline.namespace }}" "") }}
3+
{{- end}}
14
apiVersion: v1
25
kind: Namespace
36
metadata:
47
name: {{ .Values.stoneSoupPipeline.namespace }}
8+
labels:
9+
app.kubernetes.io/managed-by: helm
510
spec:
611
---
12+
{{- if .Release.IsInstall }}
13+
{{- end }}
14+
{{- end }}

charts/stone-soup-pipelines/templates/persistent-volume-claims/build-artifacts.rwo.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ apiVersion: v1
22
kind: PersistentVolumeClaim
33
metadata:
44
name: stone-soup-build-artifacts-rwo
5+
labels:
6+
app.kubernetes.io/managed-by: helm
7+
annotations:
8+
meta.helm.sh/release-name: stone-soup
9+
meta.helm.sh/release-namespace: default
510
spec:
611
resources:
712
requests:
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
apiVersion: security.openshift.io/v1
22
kind: SecurityContextConstraints
33
metadata:
4-
name: pipeline-sa
5-
namespace: {{ default "stone-soup-ci" .Values.stoneSoupPipeline.namespace }}
4+
name: pipeline
65
allowPrivilegedContainer: true
6+
allowHostDirVolumePlugin: true
7+
allowHostIPC: true
8+
allowHostIPC: true
9+
allowHostPID: true
10+
allowHostPorts: true
11+
readOnlyRootFilesystem: true
12+
allowHostNetwork: true
713
runAsUser:
814
type: RunAsAny
915
seLinuxContext:
@@ -13,4 +19,4 @@ fsGroup:
1319
supplementalGroups:
1420
type: RunAsAny
1521
users:
16-
- system:serviceaccount:{{ .Values.stoneSoupPipeline.namespace }}:{{ .Values.stoneSoupPipeline.serviceAccount }}
22+
- system:serviceaccount:{{ .Release.Namespace }}:{{ .Values.stoneSoupPipeline.serviceAccount }}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v1
2+
kind: ServiceAccount
3+
metadata:
4+
name: pipeline
5+
secrets:
6+
- name: {{ default "stone-soup-secret" .Values.stoneSoupPipeline.secret }}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{{- if $.Values.stoneSoupPipeline.subscription.install }}
2+
{{- if .Release.IsInstall }}
3+
{{- if (lookup "v1" "Subscription" "openshift-pipelines-operator-rh" "") }}
4+
{{- end }}
5+
apiVersion: operators.coreos.com/v1alpha1
6+
kind: Subscription
7+
metadata:
8+
name: openshift-pipelines-operator-rh
9+
namespace: openshift-operators
10+
labels:
11+
app.kubernetes.io/managed-by: helm
12+
spec:
13+
name: openshift-pipelines-operator-rh
14+
source: redhat-operators
15+
sourceNamespace: openshift-marketplace
16+
---
17+
{{- if .Release.IsInstall }}
18+
{{- end }}
19+
{{- end }}
20+
{{- end }}

charts/stone-soup-pipelines/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ stoneSoupPipeline:
77
install: true
88
namespace: stone-soup-ci
99
serviceAccount: pipeline
10+
secret: stone-soup-secret

0 commit comments

Comments
 (0)