-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Observability Onboarding] Kubernetes EA flow fails with invalid refspec #199754
Comments
Pinging @elastic/obs-ux-onboarding-team (Feature: Observability Onboarding) |
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Looked into this a little further and it's not possible to create the tag in the repo because it contains a space (as the The only ways to fix are:
|
Docker doesn't actually support the The actual container image for an independent release will be So this is slightly more complicated than just passing the The current independent agent release is a test that contains no changes to anything that runs on Kubernetes, so if there is a way to just ignore this release that would work here. |
## Summary Closes elastic#199754 by introducing more fine-grained version getters to get the base version (to resolve to the git tag in the repo), the actual version which might include the IAR suffix and the docker version which replaces + with . For testing, EA host and kubernetes as well as OTel host should be tested. See here: elastic#199758 (comment) --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit 7ef9773)
…0191) # Backport This will backport the following commits from `main` to `8.x`: - [[Observability Onboarding] Fix kustomize command (#199758)](#199758) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Joe Reuter","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-14T14:09:24Z","message":"[Observability Onboarding] Fix kustomize command (#199758)\n\n## Summary\r\n\r\nCloses #199754 by introducing\r\nmore fine-grained version getters to get the base version (to resolve to\r\nthe git tag in the repo), the actual version which might include the IAR\r\nsuffix and the docker version which replaces + with .\r\n\r\nFor testing, EA host and kubernetes as well as OTel host should be\r\ntested. See here:\r\nhttps://github.com//pull/199758#issuecomment-2473753175\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"7ef9773d626c21556361d85578b039773e33ffb5","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs","Feature: Observability Onboarding","v8.17.0","v8.16.1"],"title":"[Observability Onboarding] Fix kustomize command","number":199758,"url":"https://github.com/elastic/kibana/pull/199758","mergeCommit":{"message":"[Observability Onboarding] Fix kustomize command (#199758)\n\n## Summary\r\n\r\nCloses #199754 by introducing\r\nmore fine-grained version getters to get the base version (to resolve to\r\nthe git tag in the repo), the actual version which might include the IAR\r\nsuffix and the docker version which replaces + with .\r\n\r\nFor testing, EA host and kubernetes as well as OTel host should be\r\ntested. See here:\r\nhttps://github.com//pull/199758#issuecomment-2473753175\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"7ef9773d626c21556361d85578b039773e33ffb5"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199758","number":199758,"mergeCommit":{"message":"[Observability Onboarding] Fix kustomize command (#199758)\n\n## Summary\r\n\r\nCloses #199754 by introducing\r\nmore fine-grained version getters to get the base version (to resolve to\r\nthe git tag in the repo), the actual version which might include the IAR\r\nsuffix and the docker version which replaces + with .\r\n\r\nFor testing, EA host and kubernetes as well as OTel host should be\r\ntested. See here:\r\nhttps://github.com//pull/199758#issuecomment-2473753175\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"7ef9773d626c21556361d85578b039773e33ffb5"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: Joe Reuter <[email protected]>
## Summary Closes elastic#199754 by introducing more fine-grained version getters to get the base version (to resolve to the git tag in the repo), the actual version which might include the IAR suffix and the docker version which replaces + with . For testing, EA host and kubernetes as well as OTel host should be tested. See here: elastic#199758 (comment) --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Closes elastic#199754 by introducing more fine-grained version getters to get the base version (to resolve to the git tag in the repo), the actual version which might include the IAR suffix and the docker version which replaces + with . For testing, EA host and kubernetes as well as OTel host should be tested. See here: elastic#199758 (comment) --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Closes elastic#199754 by introducing more fine-grained version getters to get the base version (to resolve to the git tag in the repo), the actual version which might include the IAR suffix and the docker version which replaces + with . For testing, EA host and kubernetes as well as OTel host should be tested. See here: elastic#199758 (comment) --------- Co-authored-by: kibanamachine <[email protected]>
The Kubernetes EA flow uses kustomize and loads its template from github, using the agent version number as the tag. However, with the "Independent Agent Release", this doesn't work anymore because a build number is added:
This tries to resolve the ref
v8.15.3 build202411051926
which doesn't existThe text was updated successfully, but these errors were encountered: