Skip to content

Conversation

@etrikp
Copy link
Contributor

@etrikp etrikp commented Feb 16, 2024

Added additional test data, test suite passes.

@etrikp etrikp changed the title fix: handle differing indent levels for jobTemplate vs temlpate fix: handle differing indent levels for jobTemplate vs template Feb 16, 2024
spec:
containers:
- command:
- args: {{- toYaml .Values.batchJob.pi.args | nindent 12 }}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for CronJob nindent 12 is correct, but for Job it should be less because it does not have jobTemplate, right?

Comment on lines +24 to +25
resources: {{- toYaml .Values.batchJob.pi.resources | nindent 14 }}
nodeSelector: {{- toYaml .Values.batchJob.nodeSelector | nindent 12 }}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same applies here: nindent should be less than for CronJob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants