package argocd

import "github.com/oslokommune/okctl/pkg/helm/charts/argocd"

Package argocd provides a Helm chart for installing: - https://argoproj.github.io/argo-cd/ - https://github.com/argoproj/argo-helm

Package argocd exposes the helm chart found here: https://github.com/argoproj/argo-helm/tree/master/charts/argo-cd with the associated values file found here: https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml

Index

Constants

const (
	// ReleaseName is the name of the release
	ReleaseName = "argocd"
	// Namespace is the default namespace
	Namespace = "argocd"
)

Functions

func New

func New(values *Values, timeout time.Duration) *helm.Chart

New returns an initialised Helm chart

Types

type Values

type Values struct {
	URL                  string
	HostName             string
	CertificateARN       string
	Region               string
	ClientID             string
	Organisation         string
	AuthDomain           string
	UserPoolID           string
	RepoURL              string
	RepoName             string
	PrivateKeySecretName string
	PrivateKeySecretKey  string
}

Values contains the parameters we map up

func NewDefaultValues

func NewDefaultValues(opts ValuesOpts) *Values

NewDefaultValues returns the default values for the chart

func (*Values) RawYAML

func (v *Values) RawYAML() ([]byte, error)

RawYAML implements the raw marshaller interface in the Helm package

type ValuesOpts

type ValuesOpts struct {
	URL                  string
	HostName             string
	CertificateARN       string
	Region               string
	ClientID             string
	Organisation         string
	AuthDomain           string
	UserPoolID           string
	RepoURL              string
	RepoName             string
	PrivateKeySecretName string
	PrivateKeySecretKey  string
}

ValuesOpts contains input for creating the default values

Source Files

argocd.go doc.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
5 packages
Last checked
1 day ago

Tools for package owners.