Declarative Specs
The Akuity CLI can be used to apply declarative specs to the Akuity Platform. See akuity argocd apply and akuity kargo apply to learn how to use them.
ArgoCD Example:
First create your ArgoCD spec then apply it with the following command:
akuity argocd apply -f argocd-spec.yaml --organization-name <name of your organization>
apiVersion: argocd.akuity.io/v1alpha1
kind: ArgoCD
metadata:
name: declarative-specs <name of your instance>
spec:
description: ""
instanceSpec:
clusterCustomizationDefaults:
kustomization: {}
declarativeManagementEnabled: true <declarative management enabled>
subdomain: 5b0rw97jfpseuaiz
shard: ""
version: v2.8.0
File | Manageable via Argo CD | Manageable via Declarative Specs |
---|---|---|
argocd-cm.yaml | No | Yes |
argocd-rbac-cm.yaml | No | Yes |
argocd-secret.yaml | No | Yes |
argocd-ssh-known-hosts-cm.yaml | Yes | Yes |
argocd-tls-certs-cm.yaml | Yes | Yes |
single repo credentials | Yes | Yes |
repo template credentials | Yes | Yes |
application.yaml | Yes | Yes |
project.yaml | Yes | Yes |
applicationset.yaml | Yes | Yes |
Kargo Example:
First create your Kargo spec then apply it with the following command:
akuity kargo apply -f kargo-spec.yaml --organization-name <name of your organization>
apiVersion: kargo.akuity.io/v1alpha1
kind: Kargo
metadata:
name: test-2
spec:
description: test-description
version: v1.2.2
There are more comprehensive examples in here.
File | Manageable via Kargo | Manageable via Declarative Specs |
---|---|---|
kargo-cm.yaml | No | Yes |
kargo-secret.yaml | No | Yes |