Skip to content

Commit 6012030

Browse files
[chore] Setting initContainers pullPolicy to IfNotPresent (#248)
* Setting pullPolicy to IfNotPresent Signed-off-by: Leanne Ahern <lahern@redhat.com> * Updating chart version Signed-off-by: Leanne Ahern <lahern@redhat.com> * chore(pre-commit): Auto-fix hooks Co-authored-by: OpinionatedHeron <OpinionatedHeron@users.noreply.github.com> * Consistent IfNotPresent changes Signed-off-by: Leanne Ahern <lahern@redhat.com> --------- Signed-off-by: Leanne Ahern <lahern@redhat.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: OpinionatedHeron <OpinionatedHeron@users.noreply.github.com>
1 parent 41dfe45 commit 6012030

6 files changed

Lines changed: 10 additions & 8 deletions

File tree

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ sources: []
4747
# Versions are expected to follow Semantic Versioning (https://semver.org/)
4848
# Note that when this chart is published to https://github.com/openshift-helm-charts/charts
4949
# it will follow the RHDH versioning 1.y.z
50-
version: 4.5.10
50+
version: 4.5.11

charts/backstage/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# RHDH Backstage Helm Chart for OpenShift
33

4-
![Version: 4.5.10](https://img.shields.io/badge/Version-4.5.10-informational?style=flat-square)
4+
![Version: 4.5.11](https://img.shields.io/badge/Version-4.5.11-informational?style=flat-square)
55
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
66

77
A Helm chart for deploying Red Hat Developer Hub, which is a Red Hat supported version of Backstage.
@@ -30,7 +30,7 @@ helm repo add bitnami https://charts.bitnami.com/bitnami
3030
helm repo add backstage https://backstage.github.io/charts
3131
helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart
3232

33-
helm install my-backstage redhat-developer/backstage --version 4.5.10
33+
helm install my-backstage redhat-developer/backstage --version 4.5.11
3434
```
3535

3636
## Introduction

charts/backstage/templates/tests/test-connection.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
- ls
3232
- /usr/bin/curl
3333
image: "{{ .Values.test.image.registry }}/{{ .Values.test.image.repository }}:{{ .Values.test.image.tag }}"
34-
imagePullPolicy: Always
34+
imagePullPolicy: IfNotPresent
3535
command: ["/bin/sh", "-c"]
3636
args:
3737
- |

charts/backstage/values.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4556,7 +4556,7 @@
45564556
"type": "string"
45574557
},
45584558
"pullPolicy": {
4559-
"default": "Always",
4559+
"default": "IfNotPresent",
45604560
"description": "Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy",
45614561
"enum": [
45624562
"Always",
@@ -4620,7 +4620,7 @@
46204620
}
46214621
],
46224622
"image": "{{ include \"backstage.image\" . }}",
4623-
"imagePullPolicy": "Always",
4623+
"imagePullPolicy": "IfNotPresent",
46244624
"name": "install-dynamic-plugins",
46254625
"resources": {
46264626
"limits": {

charts/backstage/values.schema.tmpl.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"image": {
1313
"registry": "quay.io",
1414
"repository": "janus-idp/redhat-backstage-build",
15-
"tag": "latest"
15+
"tag": "latest",
16+
"pullPolicy": "IfNotPresent"
1617
}
1718
}
1819
}

charts/backstage/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ upstream:
3939
registry: quay.io
4040
repository: rhdh/rhdh-hub-rhel9
4141
tag: latest
42+
pullPolicy: IfNotPresent
4243
command: []
4344
# FIXME (tumido): USE POSTGRES_PASSWORD and POSTGRES_USER instead of POSTGRES_ADMIN_PASSWORD
4445
# This is a hack. In {fedora,rhel}/postgresql images, regular user is forbidden
@@ -212,7 +213,7 @@ upstream:
212213
# This following variable is required for orchestrator to startup properly.
213214
- name: MAX_ENTRY_SIZE
214215
value: "30000000"
215-
imagePullPolicy: Always
216+
imagePullPolicy: IfNotPresent
216217
volumeMounts:
217218
- mountPath: /dynamic-plugins-root
218219
name: dynamic-plugins-root

0 commit comments

Comments
 (0)