Installs the Kubecost cost-analyzer Helm chart using Crossplane and the Helm provider.
apiVersion: helm.hops.ops.com.ai/v1alpha1
kind: Kubecost
metadata:
name: kubecost
namespace: my-namespace
spec:
clusterName: my-cluster| Field | Description | Default |
|---|---|---|
spec.clusterName |
Name of the target cluster | Required |
spec.namespace |
Namespace for the Helm release | kubecost |
spec.name |
Helm release name | XR metadata.name |
spec.labels |
Custom labels merged with defaults | {} |
spec.values |
Helm values merged with defaults | {} |
spec.overrideAllValues |
Helm values replacing all defaults | {} |
spec.providerConfigRef.name |
ProviderConfig name | clusterName |
spec.providerConfigRef.kind |
ProviderConfig kind | ProviderConfig |
See the examples/ directory for usage examples:
minimal.yaml- Basic installationstandard.yaml- Installation with custom values