Categorygithub.com/coopnorge/mage-kubernetes-lib
modulepackage
0.7.4
Repository: https://github.com/coopnorge/mage-kubernetes-lib.git
Documentation: pkg.go.dev

# README

Mage Kubernetes Library

Mage library to support kubernetes related ci

Configuring your repository

You can change settings in the repository by manupilating configuration file in .pallet/gitconfig.yaml

The full definition of the api can be found here

CI of the changes in the repositoryconfig is not configured yet. For now you can use the argocd app status to find the status and potential errors.

# Functions

ArgoCDDiff runs a diff between local changes and the current running state in ArgoCD.
ArgoCDListApps show the apps related to this repository.
KubeConform runs kubeconform on Kubernetes manifests for ArgCD applications related to this repository.
KubeScore runs kube-score on Kubernetes manifests for ArgCD applications related to this repository.
Pallets validates the pallet files in the .pallet directory.
Validate Kubernetes manifests for ArgCD applications related to this repository.
ValidateKyverno runs render Kubernetes manifests and invokes validateKyvernoPolicies.

# Structs

ArgoCDApp contains the spec and metadata of an app.
ArgoCDAppHelm contains the info for rendering a helm file.
ArgoCDAppMetadata contains the app name.
ArgoCDAppSource contains the info where to find the source for rendering.
ArgoCDAppSpec contains the app source.
HelmChart contains all metadata of an helm chart.
HelmDependency contains a dependency of a helmchart.