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
@@ -33,11 +33,11 @@ Each custom resource based on these CRDs on Kubernetes is to be matched with a r
33
33
Two important caveats :
34
34
35
35
- It is one-way - if something happens on the S3 side directly (instead of going through the CRs), the operator has no way of reacting. At best, the next trigger will overwrite the S3 state with the declared state in the k8s custom resource.
36
-
-For now, the operator won't delete any resource on S3 - if a CR is removed, its matching resource on S3 will still be present. This behavior was primarily picked to avoid data loss for bucket, but also applied to policies.
36
+
-Originally, the operator did not manage resource deletion. This has changed in release v0.8.0 (see #40), but it still isn't a focus, and the implementation is simple. For instance, bucket deletion will simply fail if bucket is not empty - no logic was added to opt-in a "forced" deletion of everything inside the bucket.
37
37
38
38
## Installation
39
39
40
-
The S3 operator is provided either in source form through this repositoy, or already built as a Docker image available on [Docker Hub](https://hub.docker.com/r/inseefrlab/s3-operator).
40
+
The S3 operator is provided either in source form through this repository, or already built as a Docker image available on [Docker Hub](https://hub.docker.com/r/inseefrlab/s3-operator).
41
41
42
42
### Helm
43
43
@@ -70,22 +70,22 @@ The operator exposes a few parameters, meant to be set as arguments, though it's
70
70
71
71
The parameters are summarized in the table below :
| `health-probe-bind-address` | `:8081` | - | no | The address the probe endpoint binds to. Comes from Operator SDK.
76
-
| `leader-elect` | `false` | - | no | Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager. Comes from Operator SDK.
77
-
| `metrics-bind-address` | `:8080` | - | no | The address the metric endpoint binds to. Comes from Operator SDK.
78
-
| `region` | `us-east-1` | - | no | The region to configure for the S3 client.
79
-
| `s3-access-key` | - | `S3_ACCESS_KEY` | no | The access key used to interact with the S3 server.
80
-
| `s3-ca-certificate-base64` | - | - | yes | (Optional) Base64 encoded, PEM format CA certificate, for https requests to the S3 server.
81
-
| `s3-ca-certificate-bundle-path` | - | - | no | (Optional) Path to a CA certificates bundle file, for https requests to the S3 server.
82
-
| `s3-endpoint-url` | `localhost:9000` | - | no | Hostname (or hostname:port) of the S3 server.
| `s3-secret-key` | - | `S3_SECRET_KEY` | no | The secret key used to interact with the S3 server.
85
-
| `useSsl` | true | - | no | Use of SSL/TLS to connect to the S3 server
86
-
| `bucket-deletion` | false | - | no | Trigger bucket deletion on the S3 backend upon CR deletion. Will fail if bucket is not empty.
87
-
| `policy-deletion` | false | - | no | Trigger policy deletion on the S3 backend upon CR deletion
88
-
| `path-deletion` | false | - | no | Trigger path deletion on the S3 backend upon CR deletion. Limited to deleting the `.keep` files used by the operator.
|`health-probe-bind-address`|`:8081`| - | no | The address the probe endpoint binds to. Comes from Operator SDK.|
76
+
|`leader-elect`|`false`| - | no | Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager. Comes from Operator SDK.|
77
+
|`metrics-bind-address`|`:8080`| - | no | The address the metric endpoint binds to. Comes from Operator SDK.|
78
+
|`region`|`us-east-1`| - | no | The region to configure for the S3 client.|
79
+
|`s3-access-key`| - |`S3_ACCESS_KEY`| no | The access key used to interact with the S3 server.|
80
+
|`s3-ca-certificate-base64`| - | - | yes | (Optional) Base64 encoded, PEM format CA certificate, for https requests to the S3 server.|
81
+
|`s3-ca-certificate-bundle-path`| - | - | no | (Optional) Path to a CA certificates bundle file, for https requests to the S3 server.|
82
+
|`s3-endpoint-url`|`localhost:9000`| - | no | Hostname (or hostname:port) of the S3 server.|
|`s3-secret-key`| - |`S3_SECRET_KEY`| no | The secret key used to interact with the S3 server.|
85
+
|`useSsl`| true | - | no | Use of SSL/TLS to connect to the S3 server|
86
+
|`bucket-deletion`| false | - | no | Trigger bucket deletion on the S3 backend upon CR deletion. Will fail if bucket is not empty.|
87
+
|`policy-deletion`| false | - | no | Trigger policy deletion on the S3 backend upon CR deletion|
88
+
|`path-deletion`| false | - | no | Trigger path deletion on the S3 backend upon CR deletion. Limited to deleting the `.keep` files used by the operator.|
0 commit comments