Commit 92095c9
committed
feat(azure): pass HYPERSHIFT_IMAGE for self-managed clusters only
Add conditional logic to pass HYPERSHIFT_IMAGE environment variable
to Azure Disk and Azure File CSI driver operators only when running
on self-managed Azure HyperShift clusters.
For ARO HCP deployments, the Secret Provider Class pattern is used
instead of token-minter, so HYPERSHIFT_IMAGE is not needed. This
change detects ARO HCP mode by checking for the presence of
ARO_HCP_SECRET_PROVIDER_CLASS_FOR_* environment variables.
Signed-off-by: Bryan Cox <brcox@redhat.com>
Commit-Message-Assisted-by: Claude (via Claude Code)1 parent 0c5bde9 commit 92095c9
File tree
1 file changed
+13
-0
lines changed- pkg/operator/csidriveroperator
1 file changed
+13
-0
lines changedLines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
159 | 172 | | |
160 | 173 | | |
161 | 174 | | |
| |||
0 commit comments