Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
429158a
feat: add initial draft for helm chart (docker-plain)
segfault16 May 6, 2024
a8df74d
test: docker-plain chart test use AWS ECR busybox
gerardcl May 10, 2024
55df77c
test: update docker-plain golden tests with helm integration
gerardcl May 10, 2024
abcd6c1
feat: docker-plain remove provisioning resources creation
gerardcl May 10, 2024
8be1e7a
drop: comment on docker-plain chart name
gerardcl May 10, 2024
5fb6f7e
feat: prepare Chart.yaml for templating the componend_id
segfault16 Jul 17, 2024
3dc157b
fix: remove custom app label, prefer the labels suggested by kubernetes
segfault16 Jul 17, 2024
ed3b160
fix: remove componentId since this should be covered by the helm char…
segfault16 Jul 17, 2024
f83dba3
feat: update image section
segfault16 Jul 17, 2024
1d7229d
update devnotes
segfault16 Jul 17, 2024
543e5e2
fix TODO note regarding image Values values.yaml
gerardcl Jul 17, 2024
e48a729
feat: docker-plain ingress with default tls templating, fix imagetag …
gerardcl Jul 17, 2024
3c9e765
fix: align tabs on ingress.yaml and update devnotes todo
gerardcl Jul 17, 2024
0658683
feat: docker-plain render Helm chart Chart.yaml file
gerardcl Jul 18, 2024
0b541a8
update devnotes, remove dependencies in Chart.yml for now
segfault16 Aug 2, 2024
d6d7121
Merge branch 'master' into docker-plain-helm-chart
segfault16 Aug 2, 2024
b97f813
update changelog
segfault16 Aug 2, 2024
8b87c2c
enable chart testing and enable deploymentStrategy to be set via valu…
gerardcl Aug 21, 2024
b2452c0
avoid dependency on Jenkins lib only provided image values - enable c…
gerardcl Aug 21, 2024
6148c67
fix: add missing tpl for serviceAccount
segfault16 Aug 27, 2024
2b4a064
fix no property error
BraisVQ Sep 5, 2024
9b6e866
fix
BraisVQ Sep 5, 2024
37271df
skip SA creation on default, use chart fullname
segfault16 Sep 5, 2024
b64fd82
Change to nginxinc image
BraisVQ Sep 5, 2024
4b74140
Merge branch 'master' into docker-plain-helm-chart
BraisVQ Sep 5, 2024
6cd786f
Specify selector for Release manager pipeline
BraisVQ Sep 6, 2024
1d9ff9c
Remove value
segfault16 Sep 10, 2024
865c738
use nginx image from redhat
segfault16 Sep 17, 2024
be71448
move image name logic to _image.tpl, make registry optional
segfault16 Sep 17, 2024
f445e25
Update readme, switch to ImagePullStrategy: IfNotPresent
segfault16 Sep 17, 2024
00ceccd
Provide initial values files for environments
segfault16 Sep 17, 2024
4485450
more strict schema
segfault16 Sep 19, 2024
818e13f
update image
segfault16 Sep 20, 2024
6bf18ed
docker-plain add helm lint and helm template processing howto info in…
gerardcl Sep 20, 2024
11871d4
Update OS package by default
BraisVQ Sep 23, 2024
a4c338a
docker-plain: add HorizontalPodAutoscaler
faust2199 Nov 27, 2024
e3e6552
docker-plain: use nginx/nginx-unprivileged
faust2199 Nov 28, 2024
167397b
docker-plain: add simpleHost to chart/values.yaml
faust2199 Nov 28, 2024
fe5fa7f
docker-plain: allow additionalProperties; make use of .Values.service…
faust2199 Nov 28, 2024
6c58ed7
Revert "docker-plain: add simpleHost to chart/values.yaml"
faust2199 Nov 30, 2024
5161996
Merge branch 'master' into docker-plain-helm-chart
BraisVQ Jan 28, 2025
6709b68
remove devnotes
segfault16 Feb 10, 2025
da0af77
add comments
segfault16 Feb 10, 2025
d1f9713
Set Ephemeral storage request and limit
BraisVQ Feb 21, 2025
a7b1cab
Merge branch 'master' into docker-plain-helm-chart
BraisVQ Apr 7, 2025
b9c0a1a
up doc, up selectors
segfault16 Nov 3, 2025
2c453cc
Merge branch 'master' into docker-plain-helm-chart
segfault16 Nov 3, 2025
74046fb
disable autoscaling multiple times
segfault16 Nov 3, 2025
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
5 changes: 4 additions & 1 deletion docker-plain/Jenkinsfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ odsComponentPipeline(
*/
odsComponentStageBuildOpenShiftImage(context)
}
def releaseName = context.componentId // can be customized as needed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be explicit that it must match .Release.Name. Otherwise, it will still be inconsistent with the selector used elsewhere.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jafarre-bi we're supplying the same releaseName to helm upgrade (via helmReleaseName) as we use in the selector. .Release.Name is given by releaseName, we specify the selector. What inconsistency are you referring to?

def componentId = context.componentId // needs to match name in Chart.yaml
odsComponentStageRolloutOpenShiftDeployment(context, [
'selector': "app.kubernetes.io/name=${context.componentId}",
'selector': "app.kubernetes.io/instance=${releaseName},app.kubernetes.io/name=${componentId}",
'helmEnvBasedValuesFiles': ["values.env.yaml"],
'helmReleaseName': releaseName
])
}

Expand Down
2 changes: 2 additions & 0 deletions docker-plain/files/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

## The number of replicas to deploy.
## For high availability use more than 1 replica
## Before enabling check the official ODS documentation about replicate support: https://www.opendevstack.org/ods-documentation/opendevstack/latest/jenkins-shared-library/orchestration-pipeline.html#_known_limitations
replicaCount: 1

imagePullSecrets: []
Expand Down Expand Up @@ -111,6 +112,7 @@ resources:
memory: 16Mi
ephemeral-storage: 1Mi

## Before enabling check the official ODS documentation about replicate support: https://www.opendevstack.org/ods-documentation/opendevstack/latest/jenkins-shared-library/orchestration-pipeline.html#_known_limitations
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to link to the official docs, but it's not enough, since many people will miss it. Please, make the warning explicit: multiple replicas aren't currently supported by the orchestration pipeline.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jafarre-bi we agreed on this in July and I've been waiting for the official doc to reference since then. Those values will get templated and there's no way to keep this information up-to-date then. the reference will stay valid longer.

autoscaling:
enabled: false
minReplicas: 1
Expand Down