For local kubernetes installation please refer to the kind
directory's readme.
To deploy the EDC Ionos S3 connector to external kubernetes cluster on IONOS cloud, follow this readme below.
- Helm
- Terraform
- kubectl
- Kubernetes cluster - Note: follow instructions in the general-des-development directory to deploy a IONOS kubernetes cluster
- S3 account
These are the services that are deployed:
Set environment variables
Note: You will need docker image of the EDC Ionos S3 connector pushed to a repository. If you don't have one, you can build it following the instructions in the readme.
Note: To create the IONOS token please take a look at the following documentation.
# Required configuration
export TF_VAR_s3_namespace='edc-ionos-s3'
export TF_VAR_kubeconfig='path to kubeconfig'
export TF_VAR_image_repository='' # docker image repository e.g. example.cr.de-fra.ionos.com/edc-ionos-s3
export TF_VAR_image_tag='' # docker image tag e.g. latest
export TF_VAR_s3_access_key='' # S3 access key
export TF_VAR_s3_secret_key='' # S3 secret key
export TF_VAR_s3_endpoint='' # s3 endpoint (e.g. s3-eu-central-1.ionoscloud.com)
export TF_VAR_ionos_token='' # IONOS Cloud token
All commands paths are relative to the current directory where this readme is located.
1. Change the docker image, imagepullsecret and the edc configurations in the values.yaml
file of the helm chart. The vault configurations will be set by the terraform script.
vim helm/edc-ionos-s3/values.yaml
Before executing the command replace <path to docker config json file>
with real path.
kubectl create namespace edc-ionos-s3
kubectl create secret -n edc-ionos-s3 generic regcred --from-file=.dockerconfigjson=<path to docker config json file> --type=kubernetes.io/dockerconfigjson
To install the services run the script deploy-services.sh
in terraform
directory.
cd terraform
./deploy-services.sh
After the services are installed you will have vault-keys.json
file containing the vault keys in terraform
directory.