Backstage is an open platform for building developer portals
@dmckernanacv I think you've changed something as this is now changing 315 files?
@freben probably a bit of an aside, but are we planning for a way to add configuration to Catalog entities other than annotations?
I think it's a bit of a anti pattern to rely on annotations this much in a KRM system relevant talk from kubecon
I don't think so as they could be a lot of namespaces
I used the proxy endpoint to do this, then it becomes v simple. I can probably open source it in the next few weeks. I'll assign myself to this issue
@stefanprodan done!
kustomize: Handle malformed YAML in manifest scan
While scanning YAML manifests for generating kustomization, certain invalid YAML files can cause panic. Add panic recovery while scanning manifests.
Extracts the manifest scan code into a separate function and adds white-box tests for it for different scenarios.
Signed-off-by: Sunny darkowlzz@protonmail.com
Merge pull request #444 from fluxcd/kustomization-yaml-panic-recovery
kustomize: Handle malformed YAML in manifest scan
Expose the default rate limiter
The default configurations for rate limiter is exposed only to flag set. This change adds a new function GetDefaultRateLimiter() to provide access to the same rate limiter configuration without flags. This is useful for setting the default rate limiter for reconcilers in test suites.
Signed-off-by: Sunny darkowlzz@protonmail.com
Merge pull request #443 from fluxcd/default-rate-limiter
Expose the default rate limiter
Allow to pass scheme when getting kubeclient
Signed-off-by: Zhongcheng Lao Zhongcheng.Lao@microsoft.com
Address PR comments
Signed-off-by: Zhongcheng Lao Zhongcheng.Lao@microsoft.com
Merge pull request #441 from laozc/scheme
Set scheme when getting client from kubeconfig
Merge branch 'main' into export-patch-methods
I am planning on using them without ssa.Apply
I'm using the dynamic client Appyl method and ran into https://github.com/kubernetes/kubernetes/issues/99003. I found the patch logic in flux to work really well and solve some issues I was having with client side applied objects.
It might not be necessary but it could be a good idea to raise this as 2 PRs, one to add the auth backend to Backstage and one to add the auth provider to the k8s plugin. I'll leave it up to you to decide though
Thanks for the PR!
As @sydorovdmytro pointed out this seems similar to some previous PRs that were closed because we think we need an RFC. Perhaps you could get involved with these other contributors and see how we could fix this?
This sounds great!
I have a hack implementation that uses the LogViewer component.
It would be great to support:
git/gogit: stop auto-staging files from WithFiles
Revert commit 80ff3d5d8206392916216d489260f43b58387da8 due to https://github.com/fluxcd/flux2/issues/3467
Signed-off-by: Sanskar Jaiswal jaiswalsanskar078@gmail.com
Merge pull request #447 from aryan9600/revert-auto-stage
git/gogit: stop auto-staging files from WithFiles
runtime/reconcile: Add progressive status
Add a progressive status helper for setting the Reconciling and Ready conditions in the middle of reconciliation with consideration for drift detection.
Signed-off-by: Sunny darkowlzz@protonmail.com
conditions/check: Add InProgressChecker
InProgressChecker is a variant of the status conditions checker with a different set of checks that are applicable to the objects in the middle of on-going reconciliation, with intermediate conditions.
Delete invalid check FAIL0010. Add FAIL0011 for mid-reconciliation scenario.
Signed-off-by: Sunny darkowlzz@protonmail.com
Merge pull request #422 from fluxcd/intermediate-conditions-summary
Progressive status helper and in-progress status checker
Merge branch 'main' into export-patch-methods
feat: export ssa patching methods
Signed-off-by: Matthew Clarke mclarke@spotify.com
Fixes https://github.com/fluxcd/pkg/issues/439
Export ssa patching methods
Only relative-ize the URLs when they match. The backend config should be able to dictate this, but the front end will adjust it.
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
update doc.
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Add shortcut for empty config (mostly in test cases).
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Fix test cases.
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Rebase fixes
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Don't allow relative urls at CLI time.
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Add changeset for CLI change.
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Add changeset
Signed-off-by: Esther Annorzie eannorzie@indeed.com
Reuse existing ingestion_mark_entity records
Signed-off-by: Damon Kaswell damon.kaswell1@hp.com
update Stack Overflow plugin to support API Access Token
Signed-off-by: Connor Younglund younglund_connor@bah.com
add changeset
Signed-off-by: Connor Younglund younglund_connor@bah.com
format with Prettier
Signed-off-by: Connor Younglund younglund_connor@bah.com
generate updated api-report.md
Signed-off-by: Connor Younglund younglund_connor@bah.com
Fix test cases.
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Mark as patch
Signed-off-by: Damon Kaswell damon.kaswell1@hp.com
Removed unneeded annotation
Signed-off-by: Damon Kaswell damon.kaswell1@hp.com
Remove stray annotation reference
Signed-off-by: Damon Kaswell damon.kaswell1@hp.com
Remove merged test case.
Signed-off-by: Aramis Sennyey sennyeya@amazon.com
Update api-report.md
Signed-off-by: Damon Kaswell damon.kaswell1@hp.com
Merge pull request #14914 from backstage/renovate/zod-to-json-schema-3.x-lockfile
Update dependency zod-to-json-schema to v3.19.3
Signed-off-by: Matthew Clarke mclarke@spotify.com
TODO
@freben I might reimplement, still not 100% how I want to do this
I'd love to use the SSA logic in a script I have, specifically ssa/patch.go. At least until similar logic is added to k8s.
Would it be possible to export these methods?
This change adds a new optional parameter displayName
.
If displayName
is defined, it will be used instead of the cluster name.
This might be useful when we have multiple clusters with the same name:
In the case of EKS configuration, we can't set custom cluster names in app-config.yaml
as the cluster name is a part of the API request to AWS. This PR introduces a new configuration field that does not affect API calls but gives an opportunity to show an alternative cluster name in the UI.