qlik-oss / sense-installer

Sense Installer is a QSEoK installer and operator
Apache License 2.0
3 stars 0 forks source link

Provide CLI operators for fetching qliksense-k8s, apply patches and generate manifest #34

Closed bkuschel closed 4 years ago

bkuschel commented 4 years ago

Provide the ability

  1. to fetch a version of https://github.com/qlik-oss/qliksense-k8s/
  2. Render the Operator YAML => https://github.com/qlik-oss/qliksense-operator/issues/11
  3. If git.repo is not supplied in config, uses Operator API to generate patches onto file system and render manifest in response to a configured CR, creates association between CR and manifest => https://github.com/qlik-oss/qliksense-operator/issues/12
  4. If git.repo is supplied in CR, CLI delegates patche creation and manifest generation to the kubernetes controller
> kubectl qliksense install 1.0.0
  → kubectl qliksense fetch 1.0.0 # pull down qliksense-k8s@1.0.0
  → kubectl qliksense operator view | kubectl apply -f # operator manifest (CRD)
  → kubeclt qliksense config apply | kubectl apply -f # generates patches (if required) in configuration directory, applies manifest
  → kubectl qliksense config view | kubectl apply -f # generates Custom Resource manifest (CR)
ffoysal commented 4 years ago
 → kubectl qliksense operator view | kubectl apply -f # operator manifest (CRD)
  → kubeclt qliksense config apply | kubectl apply -f # generates patches (if required) in configuration directory, applies manifest
  → kubectl qliksense config view | kubectl apply -f # generates Custom Resource manifest (CR)

are done as part of #55

ffoysal commented 4 years ago

remaining command added in https://github.com/qlik-oss/sense-installer/pull/62

ffoysal commented 4 years ago

step 4 is going to be implemented in https://github.com/qlik-oss/sense-installer/issues/80