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

Add support for latest tag in docker build #16

Merged
merged 1 commit into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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