-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update opencontainers/runc (#5306) * Add Cilium skipUpgrade flag to v1alpha1 API (#5298) * More 1.26 e2e tests (#5275) * Changing logic for removing hardware from catalogue (#5296) * Changing logic for removing hardware from catalogue to save list copy * Adding more unit tests and moving out key create * Revert "Update opencontainers/runc (#5306)" (#5309) This reverts commit b1681d6. * Validate Mgmt Cluster Bundles Version on Upgrade (#5263) Validates that the management cluster's bundle is the same version or newer than the bundle version used to upgrade a workload cluster. * change signaling method for FCL curated packages support (#5315) Previously, the creation a of package bundle controller was executed via a helm chart release. Now that helm chart will create a package instead. The end result being the same, that the packages controller will notice the newly created resource and do what it needs to support curated packages on the new workload cluster. One additional value is passed to the helm invocation to help the packages controller take the appropriate actions. * Make image-builder OS support and prerequisites section more clear (#5317) * Autogenerate eksctl anywhere command doc from code (#5299) * fix field to adapt to new schema (#5323) * Fix kubectl get call to point to full API name (#5326) * Fix providers to point to full API name * Fix * Fix unit-test * Fixing tink reconcile worker template omit and logs (#5246) * Implement unmanaged CNI for CLI based clusters (#5305) * Remove hardcoded artifact links in docs (#5320) * added insecure skip verify e2e test for 1.26 (#5322) * Validate Mgmt Cluster Bundles Version on Create (#5321) Validates that the management cluster's bundle is the same version or newer than the bundle version used to create a workload cluster. * Add doc for Nutanix projects and Terraform support (#5330) * Enable full lifecycle support for Tinkerbell (#5327) * Fix ECR endpoint URL in Harbor use-case doc (#5233) * add validation that checks if the OS is valid for the provided registry mirror configuration (#5314) * set management cluster name helm value (#5331) Passes the management cluster's name when installing curated packages on a workload cluster. Removes the workloadOnly flag, as it's no longer needed in this case, as the FCL/CLI curated packages installation for workload clusters is now triggered from the workloadPackageOnly flag. * Add insecureSkipVerify in registry mirror doc (#5339) * Expand all kubectl calls to fully qualified names (#5332) * Expand all kubectl calls to fully qualified names * Fix unit-test * Fix CAPI Machines * Add uncovered unit-tests - 1 * Fix harbor endpoint URL in docs (#5340) * Fix harbor endpoint URL in docs * Restored previous image * Add doc for harbor v2.7.1 (#5346) * add doc for harbor v2.7.1 * more updates * Add cluster lifecycle information to docs (#5302) * Add cluster lifecycle information to docs * Fixes from review comments * Add wording about upgrade and delete * Use default credential names if credential names are not set (#5324) Use `nutanix-credentials` as NutanixDatacenterConfig credentialRef name if it is not present. This ensures we don't get a nil-pointer dereference during upgrade and upgrade can happen smoothly. * Update e2e pkg metallb && Wait for pkg controller installation (#5351) * MetalLB tests for multiple k8s versions * Add e2e validation for package controller package installation * Packages e2e cluster spec (#5221) * Packages e2e tests for cluster spec * Packages e2e cluster spec * lint * Fix nutanix bad rebase * [PR BOT] Generate release test file (#5303) * skipping tink tests due to lack of resources (#5357) * [PR BOT] Update ATTRIBUTION.txt file (#5255) * add kernel settings for BR (#5304) * Bump Homebrew version for EKS-A v0.14.5 (#5355) * Backport v0.14.5 changelog to main (#5354) * [PR BOT] Generate release testdata files (#5362) --------- Co-authored-by: Xu Deng <xudeng@amazon.com> Co-authored-by: Chris Doherty <chris.doherty4@gmail.com> Co-authored-by: Taylor Neyland <57606775+taneyland@users.noreply.github.com> Co-authored-by: Aravind Ramalingam <60027164+pokearu@users.noreply.github.com> Co-authored-by: Jonathan Meier <jonathanmeier5@users.noreply.github.com> Co-authored-by: Eric Wollesen <169516+ewollesen@users.noreply.github.com> Co-authored-by: Abhay Krishna <arnchlm@amazon.com> Co-authored-by: Joey Wang <jiayiwang7@yahoo.com> Co-authored-by: Vincent Ni <vincentni@users.noreply.github.com> Co-authored-by: Vignesh Goutham Ganesh <72776369+vignesh-goutham@users.noreply.github.com> Co-authored-by: Yannick Struyf <yannick.struyf@nutanix.com> Co-authored-by: Mitali Paygude <mitalipaygude@gmail.com> Co-authored-by: Hendry Anwar <hendry.anwar@live.com> Co-authored-by: Chris Negus <striker57@gmail.com> Co-authored-by: Sid Shukla <6081171+thunderboltsid@users.noreply.github.com> Co-authored-by: Lewis Diamond <git@lewisdiamond.com> Co-authored-by: Terry Howe <terrylhowe@gmail.com> Co-authored-by: EKS Distro PR Bot <75336432+eks-distro-pr-bot@users.noreply.github.com> Co-authored-by: ahreehong <46465244+ahreehong@users.noreply.github.com>
- Loading branch information
1 parent
efa77e8
commit 4fb93aa
Showing
149 changed files
with
6,999 additions
and
1,782 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
package cmd | ||
|
||
import ( | ||
"fmt" | ||
"path" | ||
"path/filepath" | ||
"strings" | ||
|
||
"github.com/spf13/cobra" | ||
"github.com/spf13/cobra/doc" | ||
|
||
anywhere "github.com/aws/eks-anywhere/cmd/eksctl-anywhere/cmd" | ||
) | ||
|
||
const fmTemplate = `--- | ||
title: "%s" | ||
linkTitle: "%s" | ||
--- | ||
` | ||
|
||
var cmdDocPath string | ||
|
||
var docgenCmd = &cobra.Command{ | ||
Use: "docgen", | ||
Short: "Generate the documentation for the CLI commands", | ||
Long: "Use eks-a-tool docgen to auto generate CLI commands documentation", | ||
Hidden: true, | ||
RunE: docgenCmdRun, | ||
} | ||
|
||
func init() { | ||
docgenCmd.Flags().StringVar(&cmdDocPath, "path", "./docs/content/en/docs/reference/eksctl", "Path to write the generated documentation to") | ||
rootCmd.AddCommand(docgenCmd) | ||
} | ||
|
||
func docgenCmdRun(_ *cobra.Command, _ []string) error { | ||
anywhereRootCmd := anywhere.RootCmd() | ||
anywhereRootCmd.DisableAutoGenTag = true | ||
if err := doc.GenMarkdownTreeCustom(anywhereRootCmd, cmdDocPath, filePrepender, linkHandler); err != nil { | ||
return fmt.Errorf("error generating markdown doc from eksctl-anywhere root cmd: %v", err) | ||
} | ||
return nil | ||
} | ||
|
||
func filePrepender(filename string) string { | ||
name := filepath.Base(filename) | ||
base := strings.TrimSuffix(name, path.Ext(name)) | ||
title := strings.Replace(base, "_", " ", -1) | ||
return fmt.Sprintf(fmTemplate, title, title) | ||
} | ||
|
||
func linkHandler(name string) string { | ||
base := strings.TrimSuffix(name, path.Ext(name)) | ||
base = strings.Replace(base, "(", "", -1) | ||
base = strings.Replace(base, ")", "", -1) | ||
return "../" + strings.ToLower(base) + "/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.