Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate single manifest for installation #(228) #297

Merged
merged 3 commits into from
Sep 21, 2020
Merged

Conversation

harshac
Copy link
Contributor

@harshac harshac commented Aug 28, 2020

This relates #228

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed

Summary Of Changes

Adapted generate-installation-manifest make target to generate a single-file manifest with all the resources required to deploy Cluster Operator. The image name and tag is hard-coded, however it can be (and it's expected to) changed using kustomize edit set image <..> command. The pipeline will run a similar kustomize command to generate release specific, versioned, manifest files.

Additional Context

This change is the first step to accomplish 1-step install. Second step is to adapt the pipeline to leverage this change and produce versioned manifest files.

Local Testing

N/A no changes to code or to how we deploy.

Edit: @Zerpet picked this PR and added some changes.

Copy link
Contributor Author

@harshac harshac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Also figure out how to override the docker image url without cloning the repo in case of private registry
  • Modify the docs

config/installation/kustomization.yaml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
config/installation/kustomization.yaml Outdated Show resolved Hide resolved
It uses resources from sibling directories instead of copying them over.
The Operator image can be kustomized via 'kustomize edit set image'
before calling the make target.
@Zerpet Zerpet self-assigned this Sep 16, 2020
@Zerpet Zerpet marked this pull request as ready for review September 16, 2020 13:18
@Zerpet Zerpet linked an issue Sep 17, 2020 that may be closed by this pull request
@Zerpet Zerpet removed a link to an issue Sep 17, 2020
Copy link
Collaborator

@mkuratczyk mkuratczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@Zerpet
Copy link
Collaborator

Zerpet commented Sep 21, 2020

Checks are green 🟢 and with two approvals ✅ I'm merging this PR 🚀

@Zerpet Zerpet merged commit 2930aac into main Sep 21, 2020
@Zerpet Zerpet deleted the 1-step-install branch September 21, 2020 10:26
@Zerpet Zerpet mentioned this pull request Sep 21, 2020
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.

4 participants