fix: no digest pinning of own image

Adds a package rule to disable updates for the 
'unboundsoftware/schemas' package in Kubernetes. 
Modifies the image reference in the deployment 
configuration to remove the specific SHA256 hash 
and use a dynamic commit tag instead. This 
improves maintainability and aligns with the 
latest deployment practices.
This commit is contained in:
2024-11-03 20:37:33 +01:00
parent d5a171eb76
commit e6152b379f
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
imagePullPolicy: IfNotPresent
image: registry.gitlab.com/unboundsoftware/schemas@sha256:198d7bfdf921d57b7bf491a4ea4a5c674e6af71904459b972eb0bcd9254aa588:${COMMIT}
image: registry.gitlab.com/unboundsoftware/schemas:${COMMIT}
ports:
- name: api
containerPort: 8080