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
If there are issues downloading and installing the provider the `INSTALLED`
77
-
field is empty.
74
+
If there are any issue during the process of downloading and installing the provider, the `INSTALLED` field will return as empty. In that case, run `kubectl describe providers` to get more information.
| `zone` | The [zone](https://developers.scaleway.com/en/quickstart/#region-and-zone) that will be used as default value for all resources. (`fr-par-1` if none specified) |
126
123
127
124
### Create a ProviderConfig
128
-
Create a `ProviderConfig` Kubernetes configuration file to attach your Scaleway
129
-
credentials to the installed provider.
125
+
126
+
1. Create a `ProviderConfig` Kubernetes configuration file to attach your Scaleway credentials to the previously installed provider.
127
+
128
+
Modify the values in the example according to your needs. Refer to the configuration reference information to understand the requested values.
130
129
131
130
```yaml
132
131
apiVersion: scaleway.upbound.io/v1beta1
@@ -142,19 +141,22 @@ spec:
142
141
key: credentials
143
142
```
144
143
144
+
2. Run `kubectl apply -f your-folder/` to apply this configuration with the secret.
145
+
146
+
3. Run `kubectl describe providerconfigs` to verify the `ProviderConfig`.
147
+
148
+
#### Configuration reference
149
+
145
150
The `spec.secretRef` describes the parameters of the secret to use.
146
151
* `namespace` is the Kubernetes namespace the secret is in.
147
152
* `name` is the name of the Kubernetes `secret` object.
148
153
* `key` is the `Data` field from `kubectl describe secret`.
149
154
150
-
Apply this configuration with the secret `kubectl apply -f your-folder/`.
151
-
152
-
You can verify the `ProviderConfig` with `kubectl describe providerconfigs`.
153
-
154
155
### Create a managed resource
155
-
Create a managed resource to verify the provider is functioning.
156
156
157
-
This example creates a Scaleway Object Storage Bucket.
157
+
1. Create a managed resource to see if the provider is properly functioning.
158
+
159
+
The following example creates a Scaleway Object Storage bucket.
158
160
159
161
```yaml
160
162
apiVersion: object.scaleway.upbound.io/v1alpha1
@@ -168,22 +170,27 @@ spec:
168
170
name: default
169
171
```
170
172
171
-
Use `kubectl get buckets` to verify bucket creation.
173
+
2. Run `kubectl get buckets` to get details on the bucket's creation.
174
+
175
+
You should get an output similar to the following one, providing details about the bucket.
Upbound created the bucket when the values `READY` and `SYNCED` are `True`.
183
+
The bucket is successfully created when both the values for `READY` and `SYNCED` are `True`.
180
184
181
-
If the `READY` or `SYNCED` are blank or `False` use `kubectl describe` to
182
-
understand why.
185
+
3. If there are any issue during the bucket creation process, the `READY` and/or `SYNCED` fields will return as empty. In that case, run `kubectl describe` to get more information.
183
186
184
187
### Delete the managed resource
185
-
Remove the managed resource by using `kubectl delete -f` with the same `Bucket`
186
-
object file. Verify removal of the bucket with `kubectl get buckets`
188
+
189
+
1. Run `kubectl delete -f` (with the same `Bucket` file) to remove the managed resource.
190
+
191
+
2. Run `kubectl get buckets` to verify whether the bucket was properly removed.
192
+
193
+
You should get an output similar to this, providing details about the status of the bucket.
187
194
188
195
```shell
189
196
$ kubectl delete -f bucket.yml
@@ -195,30 +202,30 @@ No resources found
195
202
196
203
## Developing
197
204
198
-
Run code-generation pipeline:
205
+
- To run code-generation pipeline:
206
+
199
207
```console
200
208
go run cmd/generator/main.go "$PWD"
201
209
```
202
210
203
-
Run against a Kubernetes cluster:
211
+
- To run against a Kubernetes cluster:
204
212
205
213
```console
206
214
make run
207
215
```
208
216
209
-
Build, push, and install:
217
+
- To build, push, and install:
210
218
211
219
```console
212
220
make all
213
221
```
214
222
215
-
Build binary:
223
+
- To build binary:
216
224
217
225
```console
218
226
make build
219
227
```
220
228
221
229
## Report a Bug
222
230
223
-
For filing bugs, suggesting improvements, or requesting new features, please
224
-
open an [issue](https://github.com/scaleway/crossplane-provider-scaleway/issues).
231
+
To file bugs, suggest improvements, or request new features, please open an [issue](https://github.com/scaleway/crossplane-provider-scaleway/issues).
0 commit comments