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

feat: add support for variables in project & support resource templating #277

Merged
merged 10 commits into from
Oct 18, 2024

Conversation

ahmadnaufal
Copy link

@ahmadnaufal ahmadnaufal commented Oct 9, 2024

Summary

  • Add support for spec templating in resource spec v2
  • Create new variables field in Project & Namespace, and use it for template compiling instead of config

Proton: goto/proton#132

@ahmadnaufal ahmadnaufal changed the title (wip) feat: add support for variables in project feat: add support for variables in project Oct 15, 2024
core/tenant/tenant.go Outdated Show resolved Hide resolved
GetDetails(ctx context.Context, tnnt tenant.Tenant) (*tenant.WithDetails, error)
}

type CompileEngine interface {
Copy link

Choose a reason for hiding this comment

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

Please use a better name. Compiler or templateCompiler are better than a generic name.

Copy link
Author

Choose a reason for hiding this comment

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

will update

@ahmadnaufal ahmadnaufal changed the title feat: add support for variables in project feat: add support for variables in project & support resource templating Oct 18, 2024
@ahmadnaufal ahmadnaufal merged commit ffd4dee into main Oct 18, 2024
3 checks passed
@ahmadnaufal ahmadnaufal deleted the feat/enable-variable-support branch October 18, 2024 10:25
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