Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Use kustomize for install manifest generation #271

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

darkowlzz
Copy link
Contributor

  • Adds kustomization files
  • kustomize applies the kustomize namespace on all the namespaced
    resources. Remove the namespace from individual files.
  • Move operator optional environment variables to be populated using
    configmap via config.env file. These variables are read from the
    execution environment when unset.
  • Update makefile to install and use kustomize. scripts/create-manifest.sh
    is no longer required.

Commands like:

JAEGER_SERVICE_NAME=xyz OPERATOR_IMAGE=repo:tag make install-manifest

continue to work as before.

This change will help with kubebuilder/Operator-SDK v1 project migration.

TODO: update OLM deployment to use configmap for env vars.

NOTE: This should be merged after v2.2 release.

kustomize applies the kustomize namespace on all the namespaced
resources.

Also, move operator optional environment variables to be populated using
configmap via config.env file. These variables are read from the
execution environment when unset.
scripts/create-manifest.sh is no longer required.
@darkowlzz darkowlzz added the do-not-merge/wip The PR is still work in progress or not ready to be merged label Aug 13, 2020
darkowlzz added a commit that referenced this pull request Oct 20, 2020
Addition of new related image env var `RELATED_IMAGE_API_MANAGER` shifted the array index of tracing related env vars. Increment the index value to fix it.
Long term fix is in #271 using kustomize.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
do-not-merge/wip The PR is still work in progress or not ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant