Parameters
The parent key for all of the following parameters is argocd
.
network_policies
monitoring
This section configures monitoring for ArgoCD.
monitoring.enabled
type |
bool |
default |
|
If monitoring should be enabled for this component. Requires the Prometheus Operator to be installed.
monitoring.dashboards
type |
bool |
default |
|
If dashboards should be enabled for this component. Requires the Grafana Operator to be installed.
resync_time
type |
string |
default |
|
Resync interval. Lower values mean quicker sync but higher CPU usage and more Git traffic.
log_format
type |
object |
default |
|
This parameter exposes the log format for the ArgoCD components.
By default, all components are configured to use the log format given for key default
.
The log format can be customized for individual components by providing the desired log format in keys server
, application_controller
or repo_server
.
log_level
type |
object |
default |
|
This parameter exposes the log level for the ArgoCD components.
By default, all components are configured with the log level given in key default
.
The log level can be customized for individual components by providing the desired level in keys server
, application_controller
or repo_server
http_credentials_secret_name
type |
string |
default |
|
The name of the externally managed secret which holds the username and password for fetching the catalog repo over HTTPS in fields username
and password
.
This parameter is only used when the cluster’s catalog repo URL starts with https://
.
Users must ensure that this secret is in place before this component is synced. |
images
type |
dictionary |
Dictionary containing the container images used by this component. Each entry follows the Commodore component best practices for specifying container images.
instances
type |
dictionary |
default |
|
This section allows the definition of arbitrary ArgoCD
instances, and associated AppProject
resources.
The keys of this parameter are parsed as namespaced names (<namespace>/<name>
) and used as namespaces and names of the created resources.
Namespace management
Due to how Argo CD works, namespaces holding Argo CD instances cannot be created by other Argo CD instances. |
Example
parameters:
argocd:
instances:
some-namespace/some-argocd:
config:
spec:
sso:
provider: dex
dex:
openShiftOAuth: true
...
projects:
some-project:
spec:
clusterResourceWhitelist: []
destinations:
- namespace: corp-*
server: https://kubernetes.default.svc
instances.<namespace>/<name>.config
type |
dictionary |
default |
|
Plain configuration that will be merged verbatim into the created ArgoCD
resource.
See the ArgoCD
reference of the Argo CD Operator for available fields.
To avoid common issues, some defaults are configured. They can be overwritten via the inventory.
instances.<namespace>/<name>.projects
type |
dictionary |
default |
|
Arbitrary AppProject
instances to be deployed on the cluster.
The keys of this parameter are used as the generated resource’s metadata.name
, while the parent `ArgoCD’s namespace will be inherited.
See the AppProject
reference of Argo CD for available fields.
resources
type |
dictionary |
defaults |
Dictionary containing the resource requests and limits for the different components. Keys correspond to different pods/containers:
-
application_controller
-
redis
-
repo_server
-
repo_server_vault_agent
- for thevault_agent
container in therepo-server
pod -
server
Users can remove configured requests and limits by setting any keys or subkeys in the dictionary to null
.
resource_exclusions
type |
dictionary(list|dictionary) |
default |
|
example |
|
A dictionary of resource exclusions for the ArgoCD instance. Those resources will not be managed by ArgoCD.
The keys are the names of the exclusion groups. Keys are not used, they are exclusively for hierarchical structuring.
The values are lists of resource definitions that should be excluded from the ArgoCD instance. Those lists get concatenated.
Check ArgoCD documentation for more information.
operator
type |
dict |
defaults |
Configuration for the ArgoCD operator which is deployed as part of this component.
operator.namespace
- type
-
string
- default
-
syn-argocd-operator
The namespace in which to deploy the argocd operator
operator.cluster_scope_namespaces
- type
-
array
- default
-
["${argocd:namespace}"]
List of namespaces in which argocd is allowed to be installed at the cluster scope.
operator.migrate
- type
-
string
- default
-
false
Whether to migrate from v5 or earlier. If you are upgrading from v5, set this to true
on the first catalog compilation.
operator.images
type |
dictionary |
defaults |
Dictionary containing the container images used by the operator
operator.manifests_version
type |
string |
default |
|
Version of the kubernetes manifests for the operator