Skip to content

krateoplatformops/core-provider

Repository files navigation

Krateo Core Provider

FOSSA Status

Manage Krateo PlatformOps Compositions.

What is a Composition?

A Composition is an Helm Chart archive (.tgz) with a JSON Schema for the values.yaml file.

This JSON Schema file must be named: values.schema.json.

There are many online tools to generate automatically JSON Schema from YAML, here a few:

Here some online tools useful to verify the JSON Schema before building the Composition:

How to install

$ helm repo add krateo https://charts.krateo.io
$ helm repo update krateo
$ helm install krateo-core-provider krateo/core-provider 

Resources (specs)

core.krateo.io/v1alpha1, Definition

A Definition defines a Krateo Composition Archive URL.

Spec Description Required
chart.url krateo composition url true
chart.version krateo composition version false
chart.repo helm chart repo name (only for helm repos urls) false

example:

apiVersion: core.krateo.io/v1alpha1
kind: Definition
metadata:
  annotations:
     "krateo.io/connector-verbose": "true"
  name: postgresql
  namespace: krateo-system
spec:
  chart:
    url: oci://registry-1.docker.io/bitnamicharts/postgresql
    version: "12.8.3"

License

FOSSA Status