Skip to content

Add initial proposal to support hcl + yaml as configuration files#588

Open
MarcosDY wants to merge 2 commits into
mainfrom
support-yaml-config
Open

Add initial proposal to support hcl + yaml as configuration files#588
MarcosDY wants to merge 2 commits into
mainfrom
support-yaml-config

Conversation

@MarcosDY

@MarcosDY MarcosDY commented May 9, 2026

Copy link
Copy Markdown
Owner

Changes

  • Adds experimental YAML as an optional configuration format for SPIRE server and agent, detected by file extension  (.yaml/.yml). HCL behavior is completely unchanged.
  • Introduces pkg/common/plugindecode.DecodeConfig as a format-aware decode helper used by all built-in plugins.
  • Updates DataSource to carry ConfigFormat alongside config text
  • Update plugins.

Notes

  • Experimental: A warning is logged when a YAML config file is loaded.
  • spire-plugin-sdk dependency: This PR requires a companion PR to spire-plugin-sdk to be merged.
  • No changes to existing HCL parsing — all current config files continue to work without modification.

MarcosDY added 2 commits May 9, 2026 19:31
Signed-off-by: Marcos Yacob <marcosyacob@gmail.com>
Signed-off-by: Marcos Yacob <marcosyacob@gmail.com>
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.

1 participant