Skip to content

環境によるcontext_matchesのスイッチと、Tazuna YAMLのGo Template化#64

Merged
Drumato merged 2 commits into
mainfrom
add-environment-mode
Jul 1, 2026
Merged

環境によるcontext_matchesのスイッチと、Tazuna YAMLのGo Template化#64
Drumato merged 2 commits into
mainfrom
add-environment-mode

Conversation

@Drumato

@Drumato Drumato commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Summary / 概要

-e/--environment を利用した環境差分の表現を実現します。
これにより、context_matches をさらに厳格に運用し、クラスタごとのバリデーションを細かく実施できます。

これをさらに拡張して、tazuna yamlは Go template として解釈されてレンダリングされたものが利用されるようにします。
これによって、 {{ .Environment }} のような変数をtazuna yamlで利用できます。

Changes / 変更点

  • -e.spec.environments を利用した柔軟なバリデーションの実装
  • tazuna yamlのGo template化
  • 翻訳できていなかったドキュメントの翻訳

Test plan / 動作確認

  • make test
  • make lint
  • make test-integration (if relevant / 関連する場合)
  • make test-e2e (if relevant / 関連する場合)

Related issues / 関連 issue

Drumato added 2 commits July 1, 2026 14:39
Signed-off-by: drumato <drumato@pepabo.com>
Signed-off-by: drumato <drumato@pepabo.com>
@Drumato Drumato requested a review from takutakahashi as a code owner July 1, 2026 05:56
@Drumato Drumato merged commit e5c9752 into main Jul 1, 2026
6 checks passed
@Drumato Drumato deleted the add-environment-mode branch July 1, 2026 06:12
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