-
-
Notifications
You must be signed in to change notification settings - Fork 1
Fix: use v1 externalsecrets clusterstore if available #32
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
Fix: use v1 externalsecrets clusterstore if available #32
Conversation
WalkthroughThe changes introduce dynamic selection of the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Helm Chart
participant Kubernetes API
User->>Helm Chart: Deploy Chart
Helm Chart->>Kubernetes API: Detect supported apiVersions
alt Supports v1
Helm Chart->>Kubernetes API: Create ClusterSecretStore (apiVersion: external-secrets.io/v1)
else Fallback to v1beta1
Helm Chart->>Kubernetes API: Create ClusterSecretStore (apiVersion: external-secrets.io/v1beta1)
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/charts/external-ssm-secrets/templates/ssm-secret-store.yaml(1 hunks)src/main.tf(0 hunks)
💤 Files with no reviewable changes (1)
- src/main.tf
🧰 Additional context used
🪛 YAMLlint (1.37.1)
src/charts/external-ssm-secrets/templates/ssm-secret-store.yaml
[error] 2-2: syntax error: expected '', but found ''
(syntax)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Summary
🔇 Additional comments (1)
src/charts/external-ssm-secrets/templates/ssm-secret-store.yaml (1)
13-14: Unconditional use of.Values.rolemay break chart after “cleanup” changesThe PR description says most unused values were removed, yet this template still requires
role.
Ifroleis no longer set, the rendered YAML will contain the literal string<no value>and fail to apply.Consider guarding the field or providing a default:
- role: {{ .Values.role }} # role is created via helm-release; see `service_account_set_key_path` +{{- if .Values.role }} + role: {{ .Values.role }} # role is created via helm-release; see `service_account_set_key_path` +{{- end }}Please verify that
roleis indeed still supplied invalues.yamlor update the template accordingly.
src/charts/external-ssm-secrets/templates/ssm-secret-store.yaml
Outdated
Show resolved
Hide resolved
goruha
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check comments
|
Thanks @brucex for creating this pull request! A maintainer will review your changes shortly. Please don't be discouraged if it takes a while. While you wait, make sure to review our contributor guidelines. Tip Need help or want to ask for a PR review to be expedited?Join us on Slack in the |
…ex/cloudposse-aws-eks-external-secrets-operator into fix-external-ssm-secrets-helm-chart
fixed |
|
Thanks @brucex for creating this pull request! A maintainer will review your changes shortly. Please don't be discouraged if it takes a while. While you wait, make sure to review our contributor guidelines. Tip Need help or want to ask for a PR review to be expedited?Join us on Slack in the |
1 similar comment
|
Thanks @brucex for creating this pull request! A maintainer will review your changes shortly. Please don't be discouraged if it takes a while. While you wait, make sure to review our contributor guidelines. Tip Need help or want to ask for a PR review to be expedited?Join us on Slack in the |
|
Thanks @brucex for creating this pull request! A maintainer will review your changes shortly. Please don't be discouraged if it takes a while. While you wait, make sure to review our contributor guidelines. Tip Need help or want to ask for a PR review to be expedited?Join us on Slack in the |
9f80273
|
These changes were released in v1.537.0. |
what
why
references
Summary by CodeRabbit
New Features
Chores