-
Notifications
You must be signed in to change notification settings - Fork 139
fix(site-agent): use mTLS for Flow gRPC and protect temporal-certs secret #2942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,18 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # Temporal client TLS certs for site-agent — placeholder values populated by bootstrap | ||
| # Temporal client TLS certs for site-agent — placeholder values populated by bootstrap. | ||
| # resource-policy: keep prevents helm upgrade from overwriting certs written by the | ||
| # bootstrap process; deleting and re-installing the release creates a fresh placeholder. | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: {{ .Values.secrets.temporalClientCerts }} | ||
| namespace: {{ include "nico-rest-site-agent.namespace" . }} | ||
| labels: | ||
| {{- include "nico-rest-site-agent.labels" . | nindent 4 }} | ||
| annotations: | ||
| helm.sh/resource-policy: keep | ||
|
Comment on lines
+5
to
+15
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
# Inspect whether this chart has any preserve-existing-data logic around the kept Secret.
rg -n --hidden --glob 'helm/rest/nico-rest-site-agent/**' \
'temporalClientCerts|temporal-client-site-agent-certs|helm.sh/resource-policy|lookup|stringData' \
helm/rest/nico-rest-site-agentRepository: NVIDIA/infra-controller Length of output: 797 🏁 Script executed: #!/bin/bash
set -euo pipefail
cat -n helm/rest/nico-rest-site-agent/templates/temporal-certs-secret.yamlRepository: NVIDIA/infra-controller Length of output: 1062 🌐 Web query:
💡 Result: Helm annotation Citations:
Prevent Helm upgrades from blanking the Temporal cert Secret 🧰 Tools🪛 YAMLlint (1.37.1)[error] 13-13: syntax error: expected the node content, but found '-' (syntax) 🤖 Prompt for AI AgentsSource: Path instructions |
||
| type: Opaque | ||
| stringData: | ||
| otp: "" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.