spiffe/spire

Migrate from HCL1 to HCL2

開放

#4,042 建立於 2023年4月3日

 (13 則留言) (0 個反應) (0 位負責人)Go (631 個分叉)auto 404
help wantedpriority/backlog

倉庫指標

星標
 (2,443 顆星)
PR 合併指標
 (平均合併 9天 14小時) (30 天內合併 44 個 PR)

描述

HCL1 has been deprecated and unmaintained for quite some time. Further, there are bugs and non-deterministic behavior that has caused us issue from time to time. We could benefit from moving from hcl1 to hcl2. Unfortunately the syntax is not fully backwards compatible. We need a solid plan to migrate folks from hcl1 to hcl2.

Acceptance criteria:

  • Configuration syntax changes as minimal as possible
  • Deterministically detect if someone is configuring via hcl1 or hcl2
  • Provide a way to emit hcl2 from hcl1 to aid in auto-migration
  • Eventual deprecation plan for hcl1 support (we can and should probably continue to support hcl1 for some time)

貢獻者指南