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

Bugfix change labels on the project #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stempher
Copy link
Contributor

@stempher stempher commented May 8, 2020

This is a bugfix resource openshift project

What's in this PR?

The openshift project does not allow patch labels, so for the patch labels use the namespace k8s

Why?

If you delete/create/change the label on the project we get an error:

openshift_project.test: Modifying... [id=test]

Error: Project.project.openshift.io "test" is invalid: metadata.labels[new_label]: Invalid value: "label": field is immutable, , try updating the namespace

  on main.tf line 2, in resource "openshift_project" "test":
   2: resource "openshift_project" "test" {

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