Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Refactor configuration #1506

Open
kiootic opened this issue Jun 11, 2020 · 0 comments
Open

Refactor configuration #1506

kiootic opened this issue Jun 11, 2020 · 0 comments
Assignees

Comments

@kiootic
Copy link
Contributor

kiootic commented Jun 11, 2020

  • remove msgpack
  • use https://github.com/kubernetes-sigs/yaml for yaml
  • use https://github.com/iawaknahc/jsonschema for validation
  • app_id optional (default constant in single teanant)
  • hostnames in config (merge from VALID_HOSTS)
  • watch config (directory)
  • delete version
  • move db config
    • db, redis -> credentials config
  • delete master key & access key
  • delete removed feature config
  • local development mode flag (use viper & cobra?)
  • delete default smtp etc config
  • enable file loader by default
  •  type PrivateConfig struct {
      Secrets []SecretDef
      Credentials []CredentialDef
      }
     type AppConfig struct {
      ID string
      Hosts []string
      // ...
     }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant