This repository was archived by the owner on Nov 24, 2023. It is now read-only.
File tree 7 files changed +50
-8
lines changed
charts/stone-soup-pipelines
7 files changed +50
-8
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,10 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1.1
18
+ version : 0.1.2
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
22
22
# follow Semantic Versioning. They should reflect the version the application is using.
23
23
# It is recommended to use it with quotes.
24
24
appVersion : " 1.16.0"
25
-
26
- maintainers :
27
- - name : claudiol
28
-
Original file line number Diff line number Diff line change
1
+ {{- if .Release.IsInstall }}
2
+ {{- if (lookup "v1" "Namespace" "{{ .Values.stoneSoupPipeline.namespace }}" "") }}
3
+ {{- end}}
1
4
apiVersion : v1
2
5
kind : Namespace
3
6
metadata :
4
7
name : {{ .Values.stoneSoupPipeline.namespace }}
8
+ labels :
9
+ app.kubernetes.io/managed-by : helm
5
10
spec :
6
11
---
12
+ {{- if .Release.IsInstall }}
13
+ {{- end }}
14
+ {{- end }}
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ apiVersion: v1
2
2
kind : PersistentVolumeClaim
3
3
metadata :
4
4
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
5
10
spec :
6
11
resources :
7
12
requests :
Original file line number Diff line number Diff line change 1
1
apiVersion : security.openshift.io/v1
2
2
kind : SecurityContextConstraints
3
3
metadata :
4
- name : pipeline-sa
5
- namespace : {{ default "stone-soup-ci" .Values.stoneSoupPipeline.namespace }}
4
+ name : pipeline
6
5
allowPrivilegedContainer : true
6
+ allowHostDirVolumePlugin : true
7
+ allowHostIPC : true
8
+ allowHostIPC : true
9
+ allowHostPID : true
10
+ allowHostPorts : true
11
+ readOnlyRootFilesystem : true
12
+ allowHostNetwork : true
7
13
runAsUser :
8
14
type : RunAsAny
9
15
seLinuxContext :
@@ -13,4 +19,4 @@ fsGroup:
13
19
supplementalGroups :
14
20
type : RunAsAny
15
21
users :
16
- - system:serviceaccount:{{ .Values.stoneSoupPipeline.namespace }}:{{ .Values.stoneSoupPipeline.serviceAccount }}
22
+ - system:serviceaccount:{{ .Release.Namespace }}:{{ .Values.stoneSoupPipeline.serviceAccount }}
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : ServiceAccount
3
+ metadata :
4
+ name : pipeline
5
+ secrets :
6
+ - name : {{ default "stone-soup-secret" .Values.stoneSoupPipeline.secret }}
Original file line number Diff line number Diff line change
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 }}
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ stoneSoupPipeline:
7
7
install : true
8
8
namespace : stone-soup-ci
9
9
serviceAccount : pipeline
10
+ secret : stone-soup-secret
You can’t perform that action at this time.
0 commit comments