Skip to content

Commit

Permalink
Merge pull request #8 from HaveFun83/fix-deployment-strategy
Browse files Browse the repository at this point in the history
[chart] add deploymentStrategy switch to chart values
  • Loading branch information
Vad1mo authored Jan 29, 2024
2 parents 413ab3e + 2205f40 commit 80f6dec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: helm-charts-oci-proxy
description: Transparently proxy and transform Chart Repository styled Helm Charts as OCI artifacts. Now you can address any public Chart Repository styled Helm Chart as an OCI image.
type: application
version: 1.1.0
version: 1.2.0
appVersion: "a3a35bc"
home: https://github.com/container-registry/helm-charts-oci-proxy
icon: https://avatars.githubusercontent.com/u/46576199?s=200&v=4
Expand Down
4 changes: 4 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ spec:
selector:
matchLabels:
{{- include "ocip.selectorLabels" . | nindent 6 }}
{{- with .Values.deploymentStrategy }}
strategy:
{{- toYaml . | trim | nindent 4 }}
{{- end }}
template:
metadata:
{{- with .Values.podAnnotations }}
Expand Down
3 changes: 3 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
replicaCount: 1

deploymentStrategy:
type: RollingUpdate

image:
repository: 8gears.container-registry.com/library/helm-charts-oci-proxy
pullPolicy: Always
Expand Down

0 comments on commit 80f6dec

Please sign in to comment.