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

Duplicated resources in kubernetes.yaml of release 1.0.0 #2931

Closed
Fabian-K opened this issue Mar 27, 2024 · 1 comment
Closed

Duplicated resources in kubernetes.yaml of release 1.0.0 #2931

Fabian-K opened this issue Mar 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Fabian-K
Copy link

Describe the bug
The kubernetes.yaml of the 1.0.0 release contains duplicated resources. As an example, the PriorityClass dynatrace-high-priority is included twice (line 16 and line 6164).

While this might be no issue when applying the file via kubectl apply, it is when using kustomize:

accumulating resources from 'kubernetes.yaml': may not add resource with an already registered id: PriorityClass.v1.scheduling.k8s.io/dynatrace-high-priority.[noNs]

Is it possible to remove the duplicated resources and make it compatible with kustomize?

Thanks, Fabian

@chrismuellner chrismuellner added the bug Something isn't working label Mar 27, 2024
@luhi-DT
Copy link
Collaborator

luhi-DT commented Mar 27, 2024

Hi @Fabian-K, thanks for the awesome finding, we have removed the duplicate resources and re-added the correct manifests now on the release. Sorry for this.

Thanks, Lukas!

@luhi-DT luhi-DT closed this as completed Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants