Skip to content

Restore component v3 ApiService rendering behavior#142

Merged
simu merged 5 commits into
masterfrom
fix/restore-v3-apiservice-rendering-behavior
Mar 17, 2026
Merged

Restore component v3 ApiService rendering behavior#142
simu merged 5 commits into
masterfrom
fix/restore-v3-apiservice-rendering-behavior

Conversation

@simu

@simu simu commented Mar 10, 2026

Copy link
Copy Markdown
Member

This PR cleans up the Kustomization rendering by using std.manifestJsonMinified() to generate JSON patches instead of std.format() + multi-line strings.

Additionally, we adjust the behavior of the ApiService patch to not emit spec.insecureSkipTLSVerify=false (note that this may not be necessary on recent K8s -- however, we have issues with ArgoCD on K8s 1.25 when this field is present and set to false).

Finally, we also adjust the ApiService patch to not set spec.caBundle=null when an empty CA certificate string is configured.

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.

simu added 5 commits March 10, 2026 15:57
…urces

This restores component version v3 behavior for `ApiService` rendering.
Currently on a vcluster with K8s version 1.25, the ArgoCD app is
permanently out of sync due to the presence of
`spec.insecureSkipTLSVerify=false` in the `ApiService` manifests in the
GitOps repo.

Most likely, we can drop this commit once we upgrade the control-api
vclusters to a more recent K8s version.
@simu simu requested a review from a team as a code owner March 10, 2026 15:01
@simu simu added bug Something isn't working bump:patch labels Mar 10, 2026
@github-actions

github-actions Bot commented Mar 10, 2026

Copy link
Copy Markdown

🚀 This PR has been released as v4.0.3

Triggering workflows Release

🛠️ Auto tagging enabled with label bump:patch

@appuio appuio deleted a comment from github-actions Bot Mar 10, 2026
@simu simu enabled auto-merge March 17, 2026 08:51
@simu simu merged commit 014223f into master Mar 17, 2026
12 checks passed
@simu simu deleted the fix/restore-v3-apiservice-rendering-behavior branch March 17, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working bump:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants