-
Notifications
You must be signed in to change notification settings - Fork 107
feat: Make sidecar container image configurable in Helm Chart for air-gapped environments #1651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,30 @@ _See [parameters](#parameters) below._ | |
|
|
||
| _See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ | ||
|
|
||
| ## Air-gapped Environments | ||
|
||
|
|
||
| For air-gapped environments where you need to use a custom registry for proxy sidecar containers, you can configure the proxy image settings: | ||
|
|
||
| ```console | ||
| # Install with custom registry for proxy images | ||
| helm install -n azure-workload-identity-system workload-identity-webhook azure-workload-identity/workload-identity-webhook \ | ||
| --set azureTenantID="your-tenant-id" \ | ||
| --set proxy.image.registry="your-registry.example.com" \ | ||
| --set proxy.initImage.registry="your-registry.example.com" \ | ||
| --create-namespace | ||
|
|
||
| # Or with completely custom image references | ||
| helm install -n azure-workload-identity-system workload-identity-webhook azure-workload-identity/workload-identity-webhook \ | ||
| --set azureTenantID="your-tenant-id" \ | ||
| --set proxy.image.registry="your-registry.example.com" \ | ||
| --set proxy.image.repository="custom-proxy" \ | ||
| --set proxy.image.tag="v1.0.0" \ | ||
| --set proxy.initImage.registry="your-registry.example.com" \ | ||
| --set proxy.initImage.repository="custom-proxy-init" \ | ||
| --set proxy.initImage.tag="v1.0.0" \ | ||
| --create-namespace | ||
| ``` | ||
|
|
||
| ## Upgrade Chart | ||
|
|
||
| ```console | ||
|
|
@@ -39,6 +63,7 @@ helm upgrade -n azure-workload-identity-system [RELEASE_NAME] azure-workload-ide | |
| | nodeSelector | The node selector to use for pod scheduling | `kubernetes.io/os: linux` | | ||
| | resources | The resource request/limits for the container image | limits: 100m CPU, 30Mi, requests: 100m CPU, 20Mi | | ||
| | affinity | The node affinity to use for pod scheduling | `{}` | | ||
| | topologySpreadConstraints | The topology spread constraints to use for pod scheduling | `[]` | | ||
| | tolerations | The tolerations to use for pod scheduling | `[]` | | ||
| | service.type | Service type | `ClusterIP` | | ||
| | service.port | Service port | `443` | | ||
|
|
@@ -55,6 +80,13 @@ helm upgrade -n azure-workload-identity-system [RELEASE_NAME] azure-workload-ide | |
| | mutatingWebhookNamespaceSelector | The namespace selector to further refine which namespaces will be selected by the webhook. | `{}` | | ||
| | podDisruptionBudget.minAvailable | The minimum number of pods that must be available for the webhook to be considered available | `1` | | ||
| | podDisruptionBudget.maxUnavailable | The maximum number of pods that may be unavailable for the webhook to be considered available | `nil` | | ||
| | proxy.image.registry | The registry for the proxy sidecar image | `mcr.microsoft.com/oss/azure/workload-identity` | | ||
| | proxy.image.repository | The repository for the proxy sidecar image | `proxy` | | ||
|
||
| | proxy.image.tag | The tag for the proxy sidecar image (defaults to chart appVersion) | `` | | ||
| | proxy.initImage.registry | The registry for the proxy init image | `mcr.microsoft.com/oss/azure/workload-identity` | | ||
| | proxy.initImage.repository | The repository for the proxy init image | `proxy-init` | | ||
| | proxy.initImage.tag | The tag for the proxy init image (defaults to chart appVersion) | `` | | ||
| | revisionHistoryLimit | The number of old ReplicaSets to retain for the webhook deployment | `10` | | ||
|
|
||
| ## Contributing Changes | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Revert all the changes in the
charts/directory. Chart changes are only to be done inmanifest_staging/chartsand will be promoted to charts dir at the time of release.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted all changes in the
charts/directory. All chart modifications are now only inmanifest_staging/chartsandthird_party/open-policy-agent/gatekeeper/helmify/static/as requested. (46d7b56)