Skip to content

feat(openfga): add the openFga block to the install config - #679

Merged
NJona merged 1 commit into
mainfrom
jona/openfga-install-config
Aug 13, 2026
Merged

feat(openfga): add the openFga block to the install config#679
NJona merged 1 commit into
mainfrom
jona/openfga-install-config

Conversation

@NJona

@NJona NJona commented Aug 12, 2026

Copy link
Copy Markdown
Member

One OpenFGA instance serves a whole installation, so in a multi-data-center setup exactly one data center deploys and publishes it and the others only point at it. That is an installation-level decision rather than a chart detail, so operators express it in config.yaml:

  codesphere:
    openFga:
      deploy: true
      apiUrl: https://openfga.1.cs.example.com
      expose:
        enabled: true
        host: openfga.1.cs.example.com

Validation rejects the combinations that cannot work: a data center that does not deploy OpenFGA has nowhere to fall back to and must name the instance it uses, an exposed one needs a host, and a data center cannot expose an OpenFGA it does not deploy.

Nothing reads the block yet; deriving the pc-applications values from it follows separately.

@NJona NJona self-assigned this Aug 12, 2026
@NJona
NJona requested a review from NautiluX August 12, 2026 08:08
Base automatically changed from jona/openfga-psk-secret to main August 12, 2026 11:13
One OpenFGA instance serves a whole installation, so in a multi-data-center
setup exactly one data center deploys and publishes it and the others only
point at it. That is an installation-level decision rather than a chart
detail, so operators express it in config.yaml:

  codesphere:
    openFga:
      deploy: true
      apiUrl: https://openfga.1.cs.example.com
      expose:
        enabled: true
        host: openfga.1.cs.example.com

Validation rejects the combinations that cannot work: a data center that
does not deploy OpenFGA has nowhere to fall back to and must name the
instance it uses, an exposed one needs a host, and a data center cannot
expose an OpenFGA it does not deploy.

Nothing reads the block yet; deriving the pc-applications values from it
follows separately.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Jona Neef <Jona.Neef.97@gmail.com>
@NJona
NJona force-pushed the jona/openfga-install-config branch from 5d4c44e to c2bc728 Compare August 12, 2026 11:16
Comment thread internal/installer/files/config_yaml.go
@NJona
NJona requested a review from NautiluX August 13, 2026 09:27
@NJona
NJona merged commit e57874c into main Aug 13, 2026
6 checks passed
@NJona
NJona deleted the jona/openfga-install-config branch August 13, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants