Documentation ¶
Index ¶
- Constants
- func AppendOverrides(ctx spi.ComponentContext, _ string, _ string, _ string, kvs []bom.KeyValue) ([]bom.KeyValue, error)
- func ConfigureKeycloakOIDC(ctx spi.ComponentContext) error
- func GetOverrides(object runtime.Object) interface{}
- func GetRootCA(ctx spi.ComponentContext) ([]byte, error)
- func NewComponent() spi.Component
- type OIDCConfig
Constants ¶
const ComponentJSONName = common.ArgoCDCompName
ComponentJSONName is the json name of the verrazzano component in CRD
const ComponentName = common.ArgoCDName
ComponentName is the name of the component
const ComponentNamespace = constants.ArgoCDNamespace
ComponentNamespace is the namespace of the component
Variables ¶
This section is empty.
Functions ¶
func AppendOverrides ¶
func AppendOverrides(ctx spi.ComponentContext, _ string, _ string, _ string, kvs []bom.KeyValue) ([]bom.KeyValue, error)
AppendOverrides set the ArgoCD overrides for Helm
func ConfigureKeycloakOIDC ¶
func ConfigureKeycloakOIDC(ctx spi.ComponentContext) error
ConfigureKeycloakOIDC +configures Keycloak as OIDC provider for ArgoCD. - Patch argocd-secret with the keycloak client secret. - Patch argocd-cm with the oidc configuration to enable keycloak authentication. - Patch argocd-rbac-cm by providing role admin to verrazzano-admins group
func GetOverrides ¶
GetOverrides returns the install overrides from either v1alpha1 or v1beta1.Verrazzano CR
func GetRootCA ¶
func GetRootCA(ctx spi.ComponentContext) ([]byte, error)
GetRootCA gets the root CA certificate from the Argo CD TLS secret. If the secret does not exist, we return a nil slice.