k-apis

module
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2020 License: Apache-2.0

README

k-apis

WIP

These api creates patchs for qliksene configs. It expects certain directory structure in the qliksense configs location.

manifests-root
|--.operator
|   |--kustomization.yaml
|   |--configs
|   |  |--kustomization.yaml
|   |--secrets
|   |  |--kustomization.yaml
|   |--patches
|   |  |--kustomization.yaml
|   |--transformers
|   |  |--kustomization.yaml
|   |  |--storge-class.yaml
|--manifests
|  |--base
|  |  |........
|  |  |--kustomization.yaml

It works based on CR config yaml in environment variable YAML_CONF. The CR config looks like this

apiVersion: qlik.com/v1
kind: Qliksense
metadata:
  name: test-cr  # all the resources are prefixed with this name
  namespace: test-ns
spec:
  profile: base
  manifestsRoot: "/cnab/app"
  storageClassName: efs
  rotateKeys: "yes"|"None"|"no"
  # yes: generate keys and store in k8s, None: use default keys which is in EJSON_KEY env, no: restore key from k8s cluster
  configs:
    qliksense:
    - name: acceptEULA
      value: "yes"
  secrets:
    qliksense:
    - name: mongodbUri
      value: mongo://mongo:3307

Directories

Path Synopsis
pkg
cr
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL