An Application is a managed resource that represents an ArgoCD Application
Type
CRD
Group
applications.argocd.crossplane.io
Version
v1alpha1
apiVersion: applications.argocd.crossplane.io/v1alpha1
kind: Application
A ApplicationSpec defines the desired state of an ArgoCD Application.
ApplicationParameters define the desired state of an ArgoCD Git Application
Destination is a reference to the target Kubernetes server and namespace
NameRef is a reference to a Cluster used to set Name
Policies for referencing.
NameSelector is a reference to a Cluster used to set Name
Policies for selection.
ServerRef is a reference to Cluster used to set Server
Policies for referencing.
ServerSelector selects references to Cluster used to set Server
Policies for selection.
Finalizers added to the ArgoCD Application
IgnoreDifferences is a list of resources and their fields which should be ignored during comparison
No description provided.
No description provided.
ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the desired state defined in the SCM and won't be displayed in diffs
ApplicationSource contains all required information about the source of an application
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
Sources is a reference to the location of the application's manifests or chart
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
SyncPolicy controls when and how a sync will be performed
Automated will keep an application synced to the target revision
ManagedNamespaceMetadata controls metadata in the given namespace (if CreateNamespace=true)
Options allow you to specify whole app sync-options
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
A ApplicationStatus represents the observed state of an ArgoCD Application.
ArgoApplicationStatus contains status information for the application
Conditions is a list of currently observed application conditions
History contains information about the application's sync history
Revisions holds the revision of each source in sources field the sync was performed against
Source is a reference to the application source used for the sync operation
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
Sources is a reference to the application sources used for the sync operation
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
OperationState contains information about any ongoing operations, such as a sync
Operation is the original requested operation
Sync contains parameters for the operation
Manifests is an optional field that overrides sync source with a local directory for development
Revisions is the list of revision (Git) or chart version (Helm) which to sync each source in sources field for the application to If omitted, will use the revision specified in app spec.
Source overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
Sources overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
SyncOptions provide per-sync sync-options, e.g. Validate=false
SyncResult is the result of a Sync operation
Revisions holds the revision this sync operation was performed for respective indexed source in sources field
Source records the application source information of the sync, used for comparing auto-sync
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
Source records the application source information of the sync, used for comparing auto-sync
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
Resources is a list of Kubernetes resources managed by this application
SourceTypes specifies the type of the sources included in the application
Summary contains a list of URLs and container images used by this application
ExternalURLs holds all external URLs of application child resources.
Images holds all images of application child resources.
Sync contains information about the application's current sync status
ComparedTo contains information about what has been compared
Destination is a reference to the application's destination used for comparison
NameRef is a reference to a Cluster used to set Name
Policies for referencing.
NameSelector is a reference to a Cluster used to set Name
Policies for selection.
ServerRef is a reference to Cluster used to set Server
Policies for referencing.
ServerSelector selects references to Cluster used to set Server
Policies for selection.
Source is a reference to the application's source used for comparison
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
Sources is a reference to the application's multiple sources used for comparison
Helm holds helm specific options
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
ValuesFiles is a list of Helm value files to use when generating a template
Kustomize holds kustomize specific options
Images is a list of Kustomize image override specifications
Plugin holds config management plugin specific options
Revisions contains information about the revisions of multiple sources the comparison has been performed to
Conditions of the resource.
example-application
apiVersion: applications.argocd.crossplane.io/v1alpha1
kind: Application
metadata:
name: example-application
spec:
forProvider:
destination:
namespace: default
server: https://kubernetes.default.svc
project: default
source:
path: charts/podinfo
repoURL: https://github.com/stefanprodan/podinfo/
targetRevision: HEAD
providerConfigRef:
name: argocd-provider
example-application-kubeconfig
apiVersion: applications.argocd.crossplane.io/v1alpha1
kind: Application
metadata:
name: example-application-kubeconfig
spec:
forProvider:
destination:
name: example-cluster-kubeconfig
namespace: default
project: default
source:
path: charts/podinfo
repoURL: https://github.com/stefanprodan/podinfo/
targetRevision: HEAD
providerConfigRef:
name: argocd-provider
example-application-destination-name-ref
apiVersion: applications.argocd.crossplane.io/v1alpha1
kind: Application
metadata:
name: example-application-destination-name-ref
spec:
forProvider:
destination:
nameSelector:
matchLabels:
purpose: dev
namespace: default
project: default
source:
path: charts/podinfo
repoURL: https://github.com/stefanprodan/podinfo/
targetRevision: HEAD
providerConfigRef:
name: argocd-provider
example-application-annotations
apiVersion: applications.argocd.crossplane.io/v1alpha1
kind: Application
metadata:
name: example-application-annotations
spec:
forProvider:
annotations:
notifications.argoproj.io/subscribe.on-deployed.slack: slack-channel-name
notifications.argoproj.io/subscribe.on-failure.slack: slack-channel-name
destination:
namespace: default
server: https://kubernetes.default.svc
project: default
source:
path: resources/cm
repoURL: https://github.com/bonilla-cesar/argocd
targetRevision: HEAD
providerConfigRef:
name: argocd-provider
example-application-server-name-ref
apiVersion: applications.argocd.crossplane.io/v1alpha1
kind: Application
metadata:
name: example-application-server-name-ref
spec:
forProvider:
destination:
namespace: default
serverSelector:
matchLabels:
purpose: dev
project: default
source:
path: charts/podinfo
repoURL: https://github.com/stefanprodan/podinfo/
targetRevision: HEAD
providerConfigRef:
name: argocd-provider
example-application-finalizers
apiVersion: applications.argocd.crossplane.io/v1alpha1
kind: Application
metadata:
name: example-application-finalizers
spec:
forProvider:
destination:
namespace: default
server: https://kubernetes.default.svc
finalizers:
- resources-finalizer.argocd.argoproj.io
project: default
source:
path: resources/cm
repoURL: https://github.com/bonilla-cesar/argocd
targetRevision: HEAD
providerConfigRef:
name: argocd-provider
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.