Skip to content

Add kustomize based extensions to the base manifests#3

Merged
MoisesGSalas merged 1 commit into
mainfrom
mgs/extended-manifests
Jul 25, 2022
Merged

Add kustomize based extensions to the base manifests#3
MoisesGSalas merged 1 commit into
mainfrom
mgs/extended-manifests

Conversation

@MoisesGSalas
Copy link
Copy Markdown
Member

@MoisesGSalas MoisesGSalas commented Jul 25, 2022

Description

This adds an additional manifest builder that creates an additional overlay on top of the ones generated by BaseManifests. ExtendedManifests will take the path defined in extra_templates in your drydock reference and render the templates living there on to your drydock-env.

How to use

  1. Modify you reference to include:
  manifest_class: drydock.manifest_builder.infrastructure.tutor_based_manifests.ExtendedManifest
  manifest_options:
    extra_templates: extra_templates_root
  1. Create the directories extra_templates_root/extra-extensions and add a kustomization.yml with you additional resources. Remember that this is a template and you have access to all the variables (e.g. {{ K8S_NAMESPACE }}).
  2. Run tutor drydock save -r reference.yml to generate the new environment.

Ditto of #2 on the correct branch

@MoisesGSalas MoisesGSalas merged commit 2b93163 into main Jul 25, 2022
@MoisesGSalas MoisesGSalas deleted the mgs/extended-manifests branch August 1, 2022 13:20
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.

1 participant