-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some glue to make minio buckets working
- Loading branch information
Showing
50 changed files
with
606 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
= Minio | ||
|
||
Installing Minio and generating the providerconfigs can be managed via the component. | ||
|
||
This setup has multiple parts to it: | ||
|
||
* provider | ||
* composition functions | ||
* deployments via composition function | ||
== Provider | ||
|
||
The provider section `appcat.provider.minio` can take multiple variations of provider configs: | ||
|
||
* By referencing an existing provider config by name | ||
* By creating additional configs through the `additionalProviderConfigs` field | ||
* Automatically injected configs from the `appcat.services.vshn.minio.instance`` field | ||
|
||
== Composition Function | ||
|
||
The composition here is very bare bones, the whole composition is via functions. | ||
The compositions are generated depending on how many provider configs there are. | ||
Each composition will handle exactly one provider config. | ||
This is the mechanism we can use so that a user can choose between different minio instances. | ||
We already use this mechanism to choose between different clouds for the `ObjectBuckets`. | ||
The default composition can easily be set. | ||
|
||
== Deployment | ||
|
||
Via `appcat.services.vshn.minio.instance` it's possible to deploy arbitrary amounts of minio instances to a cluster. | ||
As mentioned above, the provider configs will then be injected automatically and new compositions are generated accordingly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
= Provider Minio | ||
|
||
The parent key for all of the following parameters is `appcat.provider.minio`. | ||
|
||
== `enabled` | ||
[horizontal] | ||
type:: bool | ||
default:: `false` | ||
|
||
If the provider should be installed. | ||
|
||
== `providerConfigRefs` | ||
[horizontal] | ||
type:: array | ||
|
||
A list of names for already existing `ProviderConfigs`. | ||
|
||
== `additionalProviderConfigs` | ||
[horizontal] | ||
type:: array | ||
|
||
A list of additional `ProviderConfigs` that should be deployed via the component. | ||
Contains the `spec` of the `ProviderConfig` object. | ||
|
||
.Examples | ||
[source,yaml] | ||
---- | ||
additionalProviderConfigs: | ||
- name: minio | ||
minioURL: http://minio-server.minio.svc:9000/ | ||
credentials: | ||
apiSecretRef: | ||
name: minio-secret | ||
namespace: syn-crossplane | ||
---- | ||
|
||
== `controllerConfig` | ||
[horizontal] | ||
type:: dict | ||
|
||
The `spec` of the `ControllerConfig`. | ||
If the component is deployed on OpenShift, it will automatically add the necessary security context changes to the config. | ||
|
||
Consult the https://doc.crds.dev/github.com/crossplane/crossplane/pkg.crossplane.io/ControllerConfig/v1alpha1[upstream documentation] for configuration options. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.