Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .agents/skills/gitops-cluster-debug/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ description: |
license: Apache-2.0
metadata:
github-path: skills/gitops-cluster-debug
github-ref: refs/tags/v0.0.3
github-ref: refs/tags/v0.0.4
github-repo: https://github.com/fluxcd/agent-skills
github-tree-sha: f1463d4de7168c3561f680a2613c3b68578f09ca
github-tree-sha: 434d303add349e64129103242e7ec7d58d60f8a1
name: gitops-cluster-debug
---
# Flux Cluster Debugger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
"type": "object"
},
"spec": {
"additionalProperties": false,
"description": "FluxInstanceSpec defines the desired state of FluxInstance",
"properties": {
"cluster": {
"additionalProperties": false,
"description": "Cluster holds the specification of the Kubernetes cluster.",
"properties": {
"domain": {
Expand Down Expand Up @@ -82,10 +84,10 @@
"message": ".objectLevelWorkloadIdentity must be set to true when .multitenantWorkloadIdentity is set to true",
"rule": "(has(self.objectLevelWorkloadIdentity) && self.objectLevelWorkloadIdentity) || !has(self.multitenantWorkloadIdentity) || !self.multitenantWorkloadIdentity"
}
],
"additionalProperties": false
]
},
"commonMetadata": {
"additionalProperties": false,
"description": "CommonMetadata specifies the common labels and annotations that are\napplied to all resources. Any existing label or annotation will be\noverridden if its key matches a common one.",
"properties": {
"annotations": {
Expand All @@ -103,8 +105,7 @@
"type": "object"
}
},
"type": "object",
"additionalProperties": false
"type": "object"
},
"components": {
"description": "Components is the list of controllers to install.\nDefaults to the core Flux controllers:\n - source-controller\n - kustomize-controller\n - helm-controller\n - notification-controller",
Expand All @@ -124,6 +125,7 @@
"type": "array"
},
"distribution": {
"additionalProperties": false,
"description": "Distribution specifies the version and container registry to pull images from.",
"properties": {
"artifact": {
Expand Down Expand Up @@ -162,22 +164,24 @@
"registry",
"version"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"kustomize": {
"additionalProperties": false,
"description": "Kustomize holds a set of patches that can be applied to the\nFlux installation, to customize the way Flux operates.",
"properties": {
"patches": {
"description": "Strategic merge and JSON patches, defined as inline YAML objects,\ncapable of targeting objects based on kind, label and annotation selectors.",
"items": {
"additionalProperties": false,
"description": "Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should\nbe applied to.",
"properties": {
"patch": {
"description": "Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with\nan array of operation objects.",
"type": "string"
},
"target": {
"additionalProperties": false,
"description": "Target points to the resources that the patch document should be applied to.",
"properties": {
"annotationSelector": {
Expand Down Expand Up @@ -209,28 +213,26 @@
"type": "string"
}
},
"type": "object",
"additionalProperties": false
"type": "object"
}
},
"required": [
"patch"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
"type": "object"
},
"migrateResources": {
"default": true,
"description": "MigrateResources instructs the controller to migrate the Flux custom resources\nfrom the previous version to the latest API version specified in the CRD.\nDefaults to true.",
"type": "boolean"
},
"sharding": {
"additionalProperties": false,
"description": "Sharding holds the specification of the sharding configuration.",
"properties": {
"key": {
Expand Down Expand Up @@ -258,10 +260,10 @@
"required": [
"shards"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"storage": {
"additionalProperties": false,
"description": "Storage holds the specification of the source-controller\npersistent volume claim.",
"properties": {
"class": {
Expand All @@ -277,10 +279,10 @@
"class",
"size"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"sync": {
"additionalProperties": false,
"description": "Sync specifies the source for the cluster sync operation.\nWhen set, a Flux source (GitRepository, OCIRepository or Bucket)\nand Flux Kustomization are created to sync the cluster state\nwith the source repository.",
"properties": {
"interval": {
Expand Down Expand Up @@ -314,7 +316,7 @@
"type": "string"
},
"provider": {
"description": "Provider specifies OIDC provider for source authentication.\nFor OCIRepository and Bucket the provider can be set to 'aws', 'azure' or 'gcp'.\nfor GitRepository the accepted value can be set to 'azure' or 'github'.\nTo disable OIDC authentication the provider can be set to 'generic' or left empty.",
"description": "Provider specifies OIDC provider for source authentication.\nFor OCIRepository and Bucket the provider can be set to 'aws', 'azure' or 'gcp'.\nFor GitRepository the provider can be set to 'aws' (requires Flux 2.9 or later),\n'azure' or 'github'.\nTo disable OIDC authentication the provider can be set to 'generic' or left empty.",
"enum": [
"generic",
"aws",
Expand Down Expand Up @@ -344,7 +346,16 @@
"url"
],
"type": "object",
"additionalProperties": false
"x-kubernetes-validations": [
{
"message": "sync.provider 'gcp' is only supported for OCIRepository and Bucket",
"rule": "!has(self.provider) || self.provider != 'gcp' || self.kind == 'OCIRepository' || self.kind == 'Bucket'"
},
{
"message": "sync.provider 'github' is only supported for GitRepository",
"rule": "!has(self.provider) || self.provider != 'github' || self.kind == 'GitRepository'"
}
]
},
"wait": {
"default": true,
Expand All @@ -355,15 +366,16 @@
"required": [
"distribution"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"status": {
"additionalProperties": false,
"description": "FluxInstanceStatus defines the observed state of FluxInstance",
"properties": {
"components": {
"description": "Components contains the container images used by the components.",
"items": {
"additionalProperties": false,
"description": "ComponentImage represents a container image used by a component.",
"properties": {
"digest": {
Expand All @@ -388,14 +400,14 @@
"repository",
"tag"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"type": "array"
},
"conditions": {
"description": "Conditions contains the readiness conditions of the object.",
"items": {
"additionalProperties": false,
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"properties": {
"lastTransitionTime": {
Expand Down Expand Up @@ -444,14 +456,14 @@
"status",
"type"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"type": "array"
},
"history": {
"description": "History contains the reconciliation history of the FluxInstance\nas a list of snapshots ordered by the last reconciled time.",
"items": {
"additionalProperties": false,
"description": "Snapshot represents a point-in-time record of a group of resources reconciliation,\nincluding timing information, status, and a unique digest identifier.",
"properties": {
"digest": {
Expand Down Expand Up @@ -497,17 +509,18 @@
"lastReconciledStatus",
"totalReconciliations"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"type": "array"
},
"inventory": {
"additionalProperties": false,
"description": "Inventory contains a list of Kubernetes resource object references\nlast applied on the cluster.",
"properties": {
"entries": {
"description": "Entries of Kubernetes resource object references.",
"items": {
"additionalProperties": false,
"description": "ResourceRef contains the information necessary to locate a resource within a cluster.",
"properties": {
"id": {
Expand All @@ -523,17 +536,15 @@
"id",
"v"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"type": "array"
}
},
"required": [
"entries"
],
"type": "object",
"additionalProperties": false
"type": "object"
},
"lastAppliedRevision": {
"description": "LastAppliedRevision is the version and digest of the\ndistribution config that was last reconcile.",
Expand All @@ -556,8 +567,7 @@
"type": "string"
}
},
"type": "object",
"additionalProperties": false
"type": "object"
}
},
"type": "object",
Expand All @@ -567,4 +577,4 @@
"rule": "self.metadata.name == 'flux'"
}
]
}
}
Loading
Loading