Skip to content

Commit

Permalink
Merge pull request #10 from MakerOps/TECH-1534
Browse files Browse the repository at this point in the history
TECH-1534 - Fixing typos and bumping to new version
  • Loading branch information
OleksandrUA authored Jun 14, 2023
2 parents b5d7208 + ca07ae6 commit 15d8406
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.8
version: 0.0.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.8"
appVersion: "0.0.9"
icon: https://cncf-branding.netlify.app/img/projects/helm/horizontal/color/helm-horizontal-color.png
7 changes: 3 additions & 4 deletions charts/common/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{{- $fullName := include "common.fullname" . -}}
{{- range $job := .Values.cronjob.jobs }}
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: "{{ include "common.fullname" . }}-{{ $job.name }}"
labels:
{{- include "common.labels" . | nindent 4 }}
name: "{{ $fullName }}-{{ $job.name }}"
spec:
concurrencyPolicy: {{ $job.concurrencyPolicy }}
failedJobsHistoryLimit: {{ $job.failedJobsHistoryLimit }}
Expand All @@ -14,7 +13,7 @@ spec:
template:
metadata:
labels:
app: {{ include "common.fullname" $ }}
app: {{ $fullName }}
cron: {{ $job.name }}
spec:
{{- if hasKey $job "serviceAccount" }}
Expand Down
6 changes: 4 additions & 2 deletions charts/common/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deployment:

cronjob:
enabled: false
jobs: {}
jobs: []
# - name: hello-world
# securityContext:
# runAsUser: 1000
Expand Down Expand Up @@ -89,6 +89,8 @@ readinessProbe: {}
serviceAccount:
# Specifies whether a service account should be created
create: false
# The name of the service account to use.
name: ""
# Annotations to add to the service account
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::000000000000:role/name
Expand Down Expand Up @@ -152,7 +154,7 @@ affinity: {}
externalSecrets: {}
# clusterSecretStoreName: ""

env: []
env:
# env:
# DB_NAME:
# type: kv
Expand Down

0 comments on commit 15d8406

Please sign in to comment.