Skip to content

Add extraObjects to the helm chart #753

@khusseini

Description

@khusseini

Preflight checklist

Ory Network Project

No response

Describe your problem

Summary

Introduce an extraObjects section in the Helm values to allow adding arbitrary Kubernetes resources to the Oathkeeper chart.

Motivation

  • Automate initial JWT file rotation after Oathkeeper installation
  • Eliminate manual intervention in the setup process
  • Enable seamless integration of custom resources without creating separate Helm charts

Benefits

  • Streamlines post-installation tasks
  • Increases flexibility for custom deployments
  • Simplifies management of Oathkeeper-related resources

Describe your ideal solution

Add extraObjects key in values.yaml and process them and add the following file (extra-manifests.yaml) to the templates directory:

{{ range .Values.extraObjects }}
---
{{ tpl (toYaml .) $ }}
{{ end }}

Workarounds or alternatives

Currently the workaround is to create a new Helm Chart which depends on oathkeeper in order to add the above mentioned template.

Version

Chart version 0.52.0

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions