Skip to content
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(core): ssl secret ref #164

Merged
merged 2 commits into from
Aug 6, 2024
Merged

fix(core): ssl secret ref #164

merged 2 commits into from
Aug 6, 2024

Conversation

bzp2010
Copy link
Collaborator

@bzp2010 bzp2010 commented Aug 6, 2024

Description

Support for data plane SSL secret/env ref.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible

Copy link
Contributor

@juzhiyuan juzhiyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

.string()
.min(32)
.max(64 * 1024);
const secretRefSchema = z.string().regex(/^\$(secret|env):\/\//);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also cc @kayx23. So this PR allows ADC to use such env key

@bzp2010 bzp2010 merged commit 836c66e into main Aug 6, 2024
6 checks passed
@bzp2010 bzp2010 deleted the bzp/fix-ssl-secret-ref branch August 6, 2024 03:15
@bzp2010 bzp2010 changed the title fix: ssl secret ref fix(core): ssl secret ref Aug 6, 2024
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.

2 participants