Add Copilot instructions for repository context#802
Conversation
Co-authored-by: lentzi90 <9117693+lentzi90@users.noreply.github.com>
.github/copilot-instructions.md
Outdated
| - Always use Kustomize for managing Kubernetes manifests | ||
| - Follow the base/overlay pattern: | ||
| - `base/`: Contains the core manifests | ||
| - `overlays/<environment>/`: Contains environment-specific patches |
There was a problem hiding this comment.
There is also a separate environment turing-talos at the top level with all kustomization overlays under that folder.
There was a problem hiding this comment.
Added mention of turing-talos environment overlays in commit 1b33630.
.github/copilot-instructions.md
Outdated
| - Use `ServerSideApply=true` in syncOptions for self-managed ArgoCD Applications (required for ArgoCD v3.3.0+) | ||
| - Example: | ||
| ```yaml | ||
| syncPolicy: | ||
| syncOptions: | ||
| - ServerSideApply=true | ||
| ``` | ||
| - Use `kubectl apply --server-side` when manually applying ArgoCD Application manifests |
There was a problem hiding this comment.
This is unnecessarily detailed and specific. It applies to any application with large enough manifests. There is no need to mention argocd specifically, and especially not the version from where it is needed.
There was a problem hiding this comment.
Made the ServerSideApply guidance more generic - removed ArgoCD-specific version mention in commit 1b33630.
.github/copilot-instructions.md
Outdated
|
|
||
| - Never commit secrets directly to the repository | ||
| - Use External Secrets Operator with Bitwarden for secret management | ||
| - Always use `--server-side` flag when applying self-managed ArgoCD Applications |
There was a problem hiding this comment.
Too specific. There are other applications also that needs this. Either skip this point or make it more generic.
There was a problem hiding this comment.
Made the --server-side flag guidance generic for all large Kubernetes manifests in commit 1b33630.
…uring-talos Co-authored-by: lentzi90 <9117693+lentzi90@users.noreply.github.com>
.github/copilot-instructions.mdfile with comprehensive instructionsOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.