Skip to content

Commit

Permalink
Merge pull request #792 from dynamic-entropy/cc_helm_charts
Browse files Browse the repository at this point in the history
Modify CC helm charts: Add possibility to specify resultSinks
  • Loading branch information
ericvaandering authored May 14, 2024
2 parents 327042d + c150262 commit 5469bb5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion helm/rucio-consistency/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: 3.2.0
version: 3.3.0

# 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
Expand Down
18 changes: 5 additions & 13 deletions helm/rucio-consistency/templates/jobber-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,11 @@ data:
maxHistories: 1
resultSinks:
#- &programSink
# type: program
# path: /home/handleError.sh
#- &systemEmailSink
# type: system-email
#- &filesystemSink
# type: filesystem
# path: /path/to/dir
# data: [stdout, stderr]
# maxAgeDays: 10
{{- range .Values.jobber.resultSinks }}
- type: {{ .type }}
data: {{ .data }}
{{- end }}

jobs:
## This section must contain a YAML sequence of maps like the following:
#Job:
Expand Down
25 changes: 18 additions & 7 deletions helm/rucio-consistency/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ image:
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

jobber:
resultSinks:
- &stdoutSink
type: stdout
data: [stdout, stderr]

consistency:
schema: "CMS_RUCIO_PROD"
logLevel: "INFO"
Expand All @@ -18,7 +24,8 @@ consistency:
defaultRoot: "/path/to/nowhere"
rucioCfgSecret: "this-one"
filter: ""
sites: {}
sites:
{}
# Specify the names of the sites to check and an interval. Recommended intervals are 1, 7, 14, 31 (days)
# in which case they are run at random days. Any other integer will be run on days of the month divisible
# (14 day intervals will run in the first and third week of the month)
Expand All @@ -33,8 +40,8 @@ scratchStorageClass:
create: false

reportStorageClass:
#osShareID: fill in hash here
#osShareAccessID: fill in hash here
osShareID: abc
osShareAccessID: def

serviceAccount:
# Specifies whether a service account should be created
Expand All @@ -47,10 +54,12 @@ serviceAccount:

podAnnotations: {}

podSecurityContext: {}
podSecurityContext:
{}
# fsGroup: 2000

securityContext: {}
securityContext:
{}
# capabilities:
# drop:
# - ALL
Expand All @@ -64,7 +73,8 @@ service:

ingress:
enabled: false
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand All @@ -75,7 +85,8 @@ ingress:
# hosts:
# - chart-example.local

resources: {}
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
Expand Down

0 comments on commit 5469bb5

Please sign in to comment.