Skip to content

Commit

Permalink
set helm chart image pull policy
Browse files Browse the repository at this point in the history
  • Loading branch information
muriloAvlis committed Apr 17, 2024
1 parent 3dba8e0 commit e18259c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }}
type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
Expand Down
1 change: 1 addition & 0 deletions deploys/helm-chart/iqos-chart/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: grpc
containerPort: {{ .Values.service.grpc.port }}
Expand Down
2 changes: 1 addition & 1 deletion deploys/helm-chart/iqos-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ replicaCount: 1
image:
repository: muriloavlis/iqos-xapp
pullPolicy: Always
tag: "latest"
tag: "dev"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit e18259c

Please sign in to comment.