janus-idp / operator

Deprecated - Operator for Backstage, based on the Operator SDK framework - see https://github.com/redhat-developer/rhdh-operator
https://github.com/redhat-developer/rhdh-operator
Apache License 2.0
14 stars 15 forks source link

[API] Move runtime objects related configuration out of spec.Application #178

Closed gazarenkov closed 2 months ago

gazarenkov commented 8 months ago

By idea, spec.Application section is for configuration Backstage Application container (app-configs, extra files, env vars...) and it is quite confusing to see configuration of workload k8s objects (such as replicas, network, image etc) here as well.

Proposal is to:

So CR.spec would look like this:

spec:
  image: my-img
  imagePullSecrets: []
  replicas: 2
  application:
    appConfig: {}
    extraFiles: {}
    extraEnvs: {}
    dynamicPluginsConfigMapName: my-dp-cm
  database:
    enableLocalDb: true
  network:
   route: {}
gazarenkov commented 3 months ago

can be closed along with: https://github.com/janus-idp/operator/issues/352

nickboldt commented 2 months ago

As part of the migration from janus-idp to redhat-developer in https://issues.redhat.com/browse/RHIDP-1021, this will be tracked in https://issues.redhat.com/browse/RHIDP-1138