Skip to content

Commit

Permalink
Upgrade Digdag application version (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyoo2003 committed Feb 21, 2021
1 parent 68f937d commit acd4480
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 25 deletions.
20 changes: 4 additions & 16 deletions charts/digdag/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: digdag
description: A Helm chart for Digdag
type: application
version: 0.4.3
appVersion: 0.9.42
version: 0.5.0
appVersion: 0.10.0
dependencies:
- condition: postgresql-ha.enabled
name: postgresql-ha
Expand All @@ -26,23 +26,11 @@ annotations:
category: Workflow
# https://artifacthub.io/docs/topics/annotations/helm/
artifacthub.io/changes: |
- Add artifacthub annotations
- Rename PDB enabled to create
- Support RBAC resources
- Support the PrometheusRule resource
- Support the shareProcessNamespace option
- Waiting for PostgreSQL and separate DB migration
- Support sidecar containers
- Support extra envs
- Support the HorizontalPodAutoscaler resource
- Support the PodDisruptionBudget resource
- Support the hostAliases option
- Support the bitnami/postgresql subchart
- Merge configmap files into one
- Upgrade Digdag application version
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/images: |
- name: digdag
image: szyn/docker-digdag:0.9.42
image: ghcr.io/skyoo2003/digdag:0.0.1
- name: wait-for-it
image: willwill/wait-for-it:latest
- name: jmx-prometheus-exporter
Expand Down
6 changes: 3 additions & 3 deletions charts/digdag/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ The following table lists configurable parameters, their descriptions, and their

| Parameter | Description | Default |
|---|---|---|
| image.repository | Image repository url. | docker.io/szyn/docker-digdag |
| image.tag | Image tag. | 0.9.42 |
| image.repository | Image repository url. | ghcr.io/skyoo2003/digdag |
| image.tag | Image tag. | 0.0.1 |
| image.pullPolicy | Image pull policy. | IfNotPresent |
| image.command | Image entrypoint. | nil |
| image.args | Image entrypoint's arguments. | ["server", "--config", "/opt/etc/digdag/server.properties"] |
| image.args | Image entrypoint's arguments. | ["server", "--config", "/digdag/config/digdag.properties"] |
| replicaCount | Number of Digdag replicas to deploy. | 3 |
| updateStrategy | Update strategy to deploy. See [link](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy) for details. | {type: RollingUpdate} |
| terminationGracePeriodSeconds | Duration in seconds a Digdag pod needs to terminate gracefully. | 30 |
Expand Down
2 changes: 1 addition & 1 deletion charts/digdag/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
{{- include "digdag.labels" . | nindent 4 }}
data:
server.properties: |-
digdag.properties: |-
{{ tpl .Values.configuration . | indent 4 }}
---
{{- if and .Values.metrics.enabled .Values.jmx.enabled }}
Expand Down
2 changes: 1 addition & 1 deletion charts/digdag/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
{{- end }}
volumeMounts:
- name: digdag
mountPath: /opt/etc/digdag
mountPath: /digdag/config
readOnly: true
{{- if .Values.volumeMounts }}
{{- toYaml .Values.volumeMounts | nindent 8 }}
Expand Down
8 changes: 4 additions & 4 deletions charts/digdag/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
## ref: https://hub.docker.com/r/szyn/docker-digdag/tags
##
image:
repository: docker.io/szyn/docker-digdag
tag: 0.9.42
repository: ghcr.io/skyoo2003/digdag
tag: 0.0.1
## Specify a imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
Expand All @@ -26,11 +26,11 @@ image:
args:
- "server"
- "--config"
- "/opt/etc/digdag/server.properties"
- "/digdag/config/digdag.properties"

## Number of Digdag replicas to deploy
##
replicaCount: 2
replicaCount: 3

## Update strategy to deploy
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
Expand Down

0 comments on commit acd4480

Please sign in to comment.