steps

package
v0.0.0-...-300f772 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelmChartPath   = "charts/ingress-nginx/Chart.yaml"
	HelmChartValues = "charts/ingress-nginx/values.yaml"
)
View Source
const (
	INDEX_DOCS = "docs/deploy/index.md" // index.md has a version of the controller and needs to updated
	CHANGELOG  = "Changelog.md"         // Name of the changelog
)

Variables

View Source
var (
	INGRESS_ORG               = "kubernetes"                                // the owner so we can test from forks
	INGRESS_REPO              = "ingress-nginx"                             // the repo to pull from
	RELEASE_BRANCH            = "main"                                      // we only release from main
	GITHUB_TOKEN              string                                        // the Google/gogithub lib needs an PAT to access the GitHub API
	K8S_IO_ORG                = "kubernetes"                                // the owner or organization for the k8s.io repo
	K8S_IO_REPO               = "k8s.io"                                    // the repo that holds the images yaml for production promotion
	INGRESS_REGISTRY          = "registry.k8s.io"                           // Container registry for storage Ingress-nginx images
	KUSTOMIZE_INSTALL_VERSION = "sigs.k8s.io/kustomize/kustomize/v4@v4.5.4" // static deploys needs kustomize to generate the template
)
View Source
var (
	IMAGES_YAML = "https://raw.githubusercontent.com/kubernetes/k8s.io/main/registry.k8s.io/images/k8s-staging-ingress-nginx/images.yaml"
)

ingress-nginx releases start with a TAG then a cloudbuild, then a promotion through a PR, this the location of that PR

Functions

This section is empty.

Types

type Helm

type Helm mg.Namespace

func (Helm) Helmdocs

func (Helm) Helmdocs() error

func (Helm) UpdateChartValue

func (Helm) UpdateChartValue(key, value string)

UpdateChartValue Updates the Helm ChartValue

func (Helm) UpdateVersion

func (Helm) UpdateVersion(version string)

UpdateVersion Update Helm Version of the Chart

type Release

type Release mg.Namespace

func (Release) E2EDocs

func (Release) E2EDocs()

func (Release) Latest

func (Release) Latest() error

Latest returns latest Github Release

func (Release) LatestCommitLogs

func (Release) LatestCommitLogs()

LatestCommitLogs Retrieves the commit log between the latest two controller versions.

func (Release) NewRelease

func (Release) NewRelease(version string)

Release Create a new release of ingress nginx controller

func (Release) NewReleaseFromOld

func (Release) NewReleaseFromOld(version, oldversion string)

func (Release) ReleaseByTag

func (Release) ReleaseByTag(tag string) error

func (Release) ReleaseNotes

func (Release) ReleaseNotes(newVersion string) error

Generate Release Notes

type Tag

type Tag mg.Namespace

func (Tag) AllControllerTags

func (Tag) AllControllerTags()

func (Tag) BumpNginx

func (Tag) BumpNginx(newTag string)

BumpNginx will update the nginx TAG

func (Tag) Git

func (Tag) Git()

Git Returns the latest git tag

func (Tag) NewControllerTag

func (Tag) NewControllerTag(version string)

ControllerTag Creates a new Git Tag for the ingress controller

func (Tag) Nginx

func (Tag) Nginx()

Nginx returns the ingress-nginx current version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL