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

Set namespace for helm chart template specs #230

Merged

Conversation

michael-valdron
Copy link
Member

Please specify the area for this PR

helm chart

What does does this PR do / why we need it:

Adds metadata.namespace field to all helm chart template specs:

  • configmap.yaml
  • deployment.yaml
  • ingress.yaml
  • pvc.yaml
  • route.yaml
  • service.yaml

This is part of keeping deployments consistent with specs defined under devfile/registry-operator.

Which issue(s) this PR fixes:

Fixes #?

fixes devfile/api#1432

PR acceptance criteria:

  • Test Coverage
    • Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?

Documentation (WIP)

How to test changes / Special notes to the reviewer:

Deploy with helm chart under any environment to test this out. Deploy with operator to compare with devfile registry deployments via the devfile/registry-operator.

@openshift-ci openshift-ci bot requested a review from elsony March 27, 2024 21:36
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 27, 2024
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.27%. Comparing base (c12332d) to head (f379966).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #230   +/-   ##
=======================================
  Coverage   27.27%   27.27%           
=======================================
  Files           7        7           
  Lines        2009     2009           
=======================================
  Hits          548      548           
  Misses       1414     1414           
  Partials       47       47           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@Jdubrick Jdubrick left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 28, 2024
Copy link

openshift-ci bot commented Mar 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jdubrick, michael-valdron

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:
  • OWNERS [Jdubrick,michael-valdron]

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

@michael-valdron michael-valdron merged commit 7c89891 into devfile:main Mar 28, 2024
10 checks passed
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set the namespace value under helm chart metadata
2 participants