Skip to content

feat: jobserviceaccount enable by default#173

Merged
shubham19may merged 8 commits into
stagingfrom
feat/jobsa-enable-default
Jun 25, 2026
Merged

feat: jobserviceaccount enable by default#173
shubham19may merged 8 commits into
stagingfrom
feat/jobsa-enable-default

Conversation

@schitizsharma

Copy link
Copy Markdown
Collaborator

Description

Set jobServiceAccount.create: true by default.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Scenario 1 — Fresh install (chart 0.0.24, worker 0.3.10, Harbor): activity pod gets harbor-secret + custom annotation
  • Scenario 2 — Empty imagePullSecrets: []: no panic, activity pod has no pull secrets
  • Scenario 3 — Upgrade 0.0.22 → 0.0.24

Screenshots or Recordings

N/A

Related PR's (If Any):

N/A

vikaxsh and others added 8 commits May 20, 2026 19:13
chore: staging -> master - worker v0.3.6
The other components in this chart (olake-ui, olake-worker, temporal,
postgresql, nfs-server, elasticsearch) all support `podLabels` and
`podAnnotations` value blocks that get merged into
`spec.template.metadata`. The Fusion deployment template was missing
both — its pod-template metadata was hardcoded to the
`app.kubernetes.io/*` labels and the config-checksum annotation,
with no extension point.

This matters for deployments running under K8s admission policies that
require specific labels on pod templates (Gatekeeper, Kyverno,
OPA constraints, etc.). Without a `podLabels` hook, operators either
have to live with the policy warnings or carry parent-chart patches.

Changes mirror the same pattern olake-ui/deployment.yaml already uses:

  template:
    metadata:
      labels:
        app.kubernetes.io/name: ...
        ...
        {{- with .Values.fusion.podLabels }}
        {{- toYaml . | nindent 8 }}
        {{- end }}
      annotations:
        checksum/fusion-config: ...
        {{- with .Values.fusion.podAnnotations }}
        {{- toYaml . | nindent 8 }}
        {{- end }}

Defaults are `{}` in values.yaml so existing deployments render
byte-identically when neither value is set.

Verified with `helm template`:
  - default (no overrides) → unchanged labels/annotations
  - `--set fusion.podLabels.foo=bar --set fusion.podAnnotations.alpha=beta`
    → both merged into the rendered deployment
chore: staging -> master (worker v0.3.7, helm v0.0.19)
chore: staging -> master (worker v0.3.8, helm v0.0.20)
chore: staging -> master (olake-helm v0.0.21, olake-worker 0.3.9)
chore: staging -> master (olake-helm v0.0.22)
chore: staging->master (olake-worker v0.3.10, olake-helm v0.0.23)
@shubham19may shubham19may merged commit 2e9653f into staging Jun 25, 2026
4 checks passed
shubham19may pushed a commit that referenced this pull request Jun 25, 2026
* feat(fusion): add podLabels and podAnnotations hooks (#151)

The other components in this chart (olake-ui, olake-worker, temporal,
postgresql, nfs-server, elasticsearch) all support `podLabels` and
`podAnnotations` value blocks that get merged into
`spec.template.metadata`. The Fusion deployment template was missing
both — its pod-template metadata was hardcoded to the
`app.kubernetes.io/*` labels and the config-checksum annotation,
with no extension point.

This matters for deployments running under K8s admission policies that
require specific labels on pod templates (Gatekeeper, Kyverno,
OPA constraints, etc.). Without a `podLabels` hook, operators either
have to live with the policy warnings or carry parent-chart patches.

Changes mirror the same pattern olake-ui/deployment.yaml already uses:

  template:
    metadata:
      labels:
        app.kubernetes.io/name: ...
        ...
        {{- with .Values.fusion.podLabels }}
        {{- toYaml . | nindent 8 }}
        {{- end }}
      annotations:
        checksum/fusion-config: ...
        {{- with .Values.fusion.podAnnotations }}
        {{- toYaml . | nindent 8 }}
        {{- end }}

Defaults are `{}` in values.yaml so existing deployments render
byte-identically when neither value is set.

Verified with `helm template`:
  - default (no overrides) → unchanged labels/annotations
  - `--set fusion.podLabels.foo=bar --set fusion.podAnnotations.alpha=beta`
    → both merged into the rendered deployment

* feat: set service account to true by default

---------

Co-authored-by: vikash choudhary <vikash@datazip.io>
Co-authored-by: Antonio Davide Calì <antoniodavide.cali@zego.com>
Co-authored-by: vishal-datazip <vishal@datazip.io>
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.

5 participants