Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #16 from onmetal/fix/support_latest_tag
Browse files Browse the repository at this point in the history
Add support for latest tag in docker build
  • Loading branch information
adracus authored Sep 10, 2021
2 parents 820f7e2 + 4a3f241 commit 454cce8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
tags: |
type=semver,pattern={{version}}
type=sha
flavor: |
latest=auto
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion charts/template-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: template-operator
description: A Helm chart for the template operator
type: application
version: 0.1.6
version: 0.1.7
appVersion: 0.1.0
engine: gotpl
home: https://github.com/onmetal/template-operator
Expand Down
7 changes: 4 additions & 3 deletions charts/template-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
labels:
{{- include "template-operator.selectorLabels" . | nindent 8 }}
spec:
terminationGracePeriodSeconds: 10
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand All @@ -38,13 +39,13 @@ spec:
path: /readyz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
periodSeconds: 60
readinessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
initialDelaySeconds: 15
periodSeconds: 60
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 1 addition & 1 deletion charts/template-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ rbac:

image:
repository: ghcr.io/onmetal/template-operator
pullPolicy: IfNotPresent
tag: latest
pullPolicy: Always

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 454cce8

Please sign in to comment.