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

Test module upgrades #464

Closed
cmwylie19 opened this issue Jan 8, 2024 · 0 comments · Fixed by #478
Closed

Test module upgrades #464

cmwylie19 opened this issue Jan 8, 2024 · 0 comments · Fixed by #478
Assignees
Labels
day 2 day 2 operations tech-debt Testing Testing

Comments

@cmwylie19
Copy link
Collaborator

cmwylie19 commented Jan 8, 2024

Describe what should be investigated or refactored

As part of our testing story of the e2e tests on modules, we need to add an upgrade test and upgrade the Kubernetes manifests.

relates to #368

We need to consider the people who are in prod and want to upgrade without down time.

Links to any relevant code

      WARNING  Unable to complete helm chart install/upgrade, waiting 10 seconds and trying again: cannot
 patch "pepr-uds-core" with kind Deployment: Deployment.apps "pepr-uds-core" is invalid:
 spec.selector: Invalid value:
 v1.LabelSelector{MatchLabels:map[string]string{"app":"pepr-uds-core",
 "pepr.dev/controller":"admission"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}:
 field is immutable && cannot patch "pepr-uds-core-watcher" with kind Deployment:
 Deployment.apps "pepr-uds-core-watcher" is invalid: spec.selector: Invalid value:
 v1.LabelSelector{MatchLabels:map[string]string{"app":"pepr-uds-core-watcher",
 "pepr.dev/controller":"watcher"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}:
 field is immutable

Additional context

Add any other context or screenshots about the technical debt here.

@cmwylie19 cmwylie19 added tech-debt Testing Testing day 2 day 2 operations labels Jan 8, 2024
@cmwylie19 cmwylie19 self-assigned this Jan 10, 2024
@cmwylie19 cmwylie19 mentioned this issue Jan 12, 2024
5 tasks
cmwylie19 added a commit that referenced this issue Jan 12, 2024
## Description

Test if Kubernetes manifests of a Pepr capability can be upgraded after
Pepr core upgrade and rebuild.

**

## Related Issue

Fixes #464 #476 #474 
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/pepr/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed

---------

Signed-off-by: Case Wylie <cmwylie19@defenseunicorns.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
day 2 day 2 operations tech-debt Testing Testing
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant