Skip to content

Commit 00f9542

Browse files
committed
fix: enable ImageStream local lookup and default pullPolicy to Always
Short image names like "pint:dev" fail to resolve without local lookup enabled on the ImageStream. Also switch default pullPolicy to Always so pods pick up new SHAs after trigger-driven rollouts. Bump chart to 0.3.1.
1 parent 6befdc9 commit 00f9542

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: pint
33
description: Pouring IPA for Network Trust - CSH WiFi EAP-TLS enrollment and home RadSec management
44
type: application
5-
version: 0.3.0
5+
version: 0.3.1
66
appVersion: "0.1.0"

chart/templates/imagestream.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
{{- include "pint.labels" . | nindent 4 }}
99
spec:
1010
lookupPolicy:
11-
local: false
11+
local: true
1212
{{- if .Values.freeradius.enabled }}
1313
---
1414
apiVersion: image.openshift.io/v1
@@ -20,6 +20,6 @@ metadata:
2020
{{- include "pint.freeradiusLabels" . | nindent 4 }}
2121
spec:
2222
lookupPolicy:
23-
local: false
23+
local: true
2424
{{- end }}
2525
{{- end }}

chart/values.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"pullPolicy": {
181181
"type": "string",
182182
"enum": ["Always", "IfNotPresent", "Never"],
183-
"default": "IfNotPresent"
183+
"default": "Always"
184184
}
185185
}
186186
}
@@ -225,7 +225,7 @@
225225
"pullPolicy": {
226226
"type": "string",
227227
"enum": ["Always", "IfNotPresent", "Never"],
228-
"default": "IfNotPresent"
228+
"default": "Always"
229229
}
230230
}
231231
},

chart/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pint:
1111
image:
1212
repository: pint
1313
tag: "latest"
14-
pullPolicy: IfNotPresent
14+
pullPolicy: Always
1515

1616
# Non-sensitive PINT application configuration rendered into a ConfigMap.
1717
# Sensitive values (PINT_CLIENT_SECRET, PINT_IPA_PASSWORD) must still be
@@ -80,7 +80,7 @@ freeradius:
8080
image:
8181
repository: pint-freeradius
8282
tag: "latest"
83-
pullPolicy: IfNotPresent
83+
pullPolicy: Always
8484
service:
8585
type: NodePort
8686
nodePort: null

0 commit comments

Comments
 (0)