Skip to content

Instantly share code, notes, and snippets.

@robzienert
Created August 7, 2019 01:05
Show Gist options
  • Save robzienert/68dde8c895e93c0a391953eae43fcf0f to your computer and use it in GitHub Desktop.
Save robzienert/68dde8c895e93c0a391953eae43fcf0f to your computer and use it in GitHub Desktop.

standardized app config schema

# following convention of how Spring has nested everything under "spring", we should look to do the same.
spring: ...

spinnaker:
  common: ...
  kork:
    storage:
      {name}:
        driver: {driver|class}  // {driver}=MYSQL|REDIS|ETCD|SQS, {class}=DURABLE_STORE|CACHE|QUEUE
      available: ...
    consistent: ...
    cache: ...
    queue: ...
    peers:
    - useast1
    - uswest2
    replication: ...
  services:
    {coreService}: ...
      infra: ...
    {serviceExtension}: ...
spinnaker-plugin:
  {plugin}: ...

have operator docs built into standard; SpinnakerConfigurationProperties children must have docs/usage annotations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment