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

🏃 Change configMapGenerator behavior in kustomization and typo fixes #551

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

furkatgofurov7
Copy link
Member

@furkatgofurov7 furkatgofurov7 commented Jun 10, 2020

What this PR does / why we need it:
This patch fixes configMapGenerator behavior so that when BMO is deployed as part of CAPM3 it needs to be able to create configmap rather than merge and also addresses few fixes to some comments (typo and rephrasing) in #541

Logs:
Error: accumulating resources: accumulateFile "accumulating resources from '../deploy/default': '/home/****/go/src/github.com/metal3-io/baremetal-operator/deploy/default' must resolve to a file", accumulateDirector: "recursed accumulation of path '/home/****/go/src/github.com/metal3-io/baremetal-operator/deploy/default': merging from generator &{0xc0007bb230 { } {{ ironic-bmo-configmap merge {[] [] [ironic_bmo_configmap.env]} <nil>}}}: id resid.ResId{Gvk:resid.Gvk{Group:\"\", Version:\"v1\", Kind:\"ConfigMap\"}, Name:\"ironic-bmo-configmap\", Namespace:\"\"} does not exist; cannot merge or replace"

Related to: /metal3-dev-env/pull/338

@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 10, 2020
@metal3-io-bot metal3-io-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 10, 2020
@furkatgofurov7
Copy link
Member Author

/test-integration

@furkatgofurov7
Copy link
Member Author

furkatgofurov7 commented Jun 10, 2020

/cc @maelk
/cc @kashifest
/cc @fmuyassarov

@furkatgofurov7 furkatgofurov7 changed the title Change configMapGenerator behavior in kustomization 🏃 Change configMapGenerator behavior in kustomization and Jun 10, 2020
@furkatgofurov7 furkatgofurov7 changed the title 🏃 Change configMapGenerator behavior in kustomization and 🏃 Change configMapGenerator behavior in kustomization and typo fixes Jun 10, 2020
@maelk
Copy link
Member

maelk commented Jun 10, 2020

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: furkatgofurov7, maelk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 10, 2020
Copy link
Member

@fmuyassarov fmuyassarov left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 11, 2020
@metal3-io-bot metal3-io-bot merged commit ae0531d into metal3-io:master Jun 11, 2020
@furkatgofurov7 furkatgofurov7 deleted the furkat-confmap-behavior-fix branch September 23, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants