You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/03_topics/02_configuration/01_air-gapped-environtment.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,13 @@ To install Cluster API providers in an air-gapped environment using the operator
6
6
- Manually fetch and store a helm chart for the operator.
7
7
- Provide image overrides for the operator from an accessible image repository.
8
8
2. Configure providers for an air-gapped environment:
9
-
- Provide fetch configuration for each provider from an accessible location: e.g., an OCI artifact, internal Github/Gitlab repository URL or from pre-created ConfigMaps within the cluster.
9
+
- Provide fetch configuration for each provider from an accessible location: e.g., an OCI artifact, internal GitHub/GitLab repository URL or from pre-created ConfigMaps within the cluster.
10
10
- Provide image overrides for each provider to pull images from an accessible image repository.
11
11
12
+
Please note that the operator generates a list of metadata versions from the ConfigMaps by the provider selector based (in priority) on:
13
+
- Value in the `provider.cluster.x-k8s.io/version` label
14
+
- Its name (see usage example below)
15
+
12
16
**Example Usage:**
13
17
14
18
As an admin, I need to fetch the Azure provider components from within the cluster because I am working in an air-gapped environment.
@@ -135,9 +139,15 @@ data:
135
139
OCI_PASSWORD: <secret>
136
140
OCI_ACCESS_TOKEN: <secret>
137
141
OCI_REFRESH_TOKEN: <secret>
142
+
stringData:
143
+
images: |
144
+
all:
145
+
repository: quay.io/foobar
138
146
```
139
147
140
-
### Using Github/Gitlab URL
148
+
This example also demonstrates how to override the repository for all images in the provider metadata.
149
+
150
+
### Using GitHub/GitLab URL
141
151
142
152
If the provider components are hosted at a specific repository URL, you can use `fetchConfig.url` to retrieve them directly.
0 commit comments