Skip to content

chore: staging -> master - worker v0.3.6#149

Merged
vikaxsh merged 4 commits into
masterfrom
staging
May 20, 2026
Merged

chore: staging -> master - worker v0.3.6#149
vikaxsh merged 4 commits into
masterfrom
staging

Conversation

@vishalm0509
Copy link
Copy Markdown
Collaborator

Description

Release OLake worker version v0.3.6

Fixes # (issue)

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 A
  • Scenario B

Screenshots or Recordings

Related PR's (If Any):

antoniocali and others added 4 commits May 18, 2026 16:38
The bundled postgres secret template (`templates/postgresql/secret.yaml`)
always emits `helm.sh/hook: pre-install,pre-upgrade` with
`hook-delete-policy: before-hook-creation`, regardless of the
`useStandardResources` flag. The sibling worker secret template
(`templates/olake-worker/secret.yaml`) gates the same annotations on
`{{- if not .Values.useStandardResources }}` — postgres was missed.

Effect for users running this chart under ArgoCD with the default
`useStandardResources: true`:

  - ArgoCD interprets the secret as a PreSync hook.
  - With `BeforeHookCreation` deletion policy, the resource is treated
    as transient and never persists in the cluster.
  - `postgresql-0` and the `temporal` init container both `envFrom` /
    `valueFrom: secretKeyRef` against `<release>-postgresql-secret`
    and end up stuck in `CreateContainerConfigError`:
      `Error: secret "<release>-postgresql-secret" not found`.

Fix mirrors the worker-secret pattern exactly: wraps the three
`helm.sh/hook*` lines in `{{- if not .Values.useStandardResources }}`,
and adds the same `TODO: Remove the Helm hook logic in a future release`
comment. With this change:

  - `useStandardResources: true` (default) — secret renders as a standard
    resource, no hook annotations, persists.
  - `useStandardResources: false` (legacy) — unchanged behavior, hook
    annotations still emitted.

Verified with `helm template`:
  default mode  → `metadata.annotations` empty on the postgres secret
  legacy mode   → all three `helm.sh/hook*` annotations present, matching
                  the worker secret template
…standard-resources

fix(postgresql): gate helm.sh/hook annotations on useStandardResources
Decrypt AES-256-GCM (local) and AWS KMS encrypted configs
stored in the database before passing them to job execution.
If OLAKE_SECRET_KEY is not set, configs are used as-is.

Co-authored-by: vikash390 <vikash@datazip.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
@vishalm0509 vishalm0509 changed the title chore: release worker v0.3.6 chore: staging -> master - worker v0.3.6 May 20, 2026
@vikaxsh vikaxsh merged commit 53dbafe into master May 20, 2026
6 checks passed
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.

4 participants