0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CAPI Operatorで最新ソースを取得する方法

Last updated at Posted at 2025-10-29

概要

バージョン指定を変えずに、CAPI Operatorに最新のソースコードを再取得させる手法

手順

1. キャッシュファイルの削除

ControlPlaneProviderが配置されているnamespace内の以下のようなファイルを削除

<controlplane-capa-v0.4.1>

2. アノテーションの削除

ControlPlaneProviderリソースの .metadata.annotations から以下を削除

operator.cluster.x-k8s.io/applied-spec-hash: 8eec2d5839a7b69b41be140c70d5bd3418057754cf8be9cd4493b66f4cdc318d

結果

CAPI Operatorが変更を検知し、最新のソースを自動的に取得・適用

活用場面

開発中のテスト・デバッグ

注意事項

古いリソースが残存します

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?