Skip to content

Latest commit

 

History

History
66 lines (57 loc) · 1.94 KB

README.md

File metadata and controls

66 lines (57 loc) · 1.94 KB

Kratix

This chart is for installing Kratix on your Platform cluster.

Installation

The Helm Chart can be installed without providing any values, this will install the Kratix controllers and CRDs only.

export PLATFORM=kind-platform # or your platform cluster context

helm repo add syntasso https://syntasso.github.io/helm-charts
helm repo update
helm --kube-context ${PLATFORM} install kratix syntasso/kratix

Optional Configuration

Kratix will often be configured with one or more Destinations and StateStores. If you know at installation time the values for these resources you can provide them as values. Alternatively you can manually install later on. For example to configure a worker destination and a BucketStateStore at installation time you could provide the following values.yaml file:

additionalResources:
- kind: BucketStateStore
  apiVersion: platform.kratix.io/v1alpha1
  metadata:
    name: default
  spec:
    endpoint: minio.kratix-platform-system.svc.cluster.local
    insecure: true
    bucketName: kratix
    authMethod: accessKey
    secretRef:
      name: minio-credentials
      namespace: default
- kind: Destination
  apiVersion: platform.kratix.io/v1alpha1
  metadata:
    name: worker-1
    labels:
      environment: dev
  spec:
    stateStoreRef:
      name: default
      kind: BucketStateStore
- apiVersion: v1
  kind: Secret
  metadata:
    name: minio-credentials
    namespace: default
  type: Opaque
  data:
...

See the values file for more example configuration. To pass the values file in during the helm install run as follows:

export PLATFORM=kind-platform # or your platform cluster context
helm --kube-context ${PLATFORM} install kratix charts/kratix/ -f values.yaml