agentleFS
NVIDIAKnown publisherNVIDIA/nvcf/deploy/helm/nvcf-pki/AGENTS.md

nvcf / nvcf-pki

AGENTS.md261 starsChanged 9 days agoApache-2.0View on GitHub

This native Helm chart provisions cluster-scoped PKI resources. It renders no resources unless clusterIssuer.enabled=true. Run from the repository root: Follow the repository root AGENTS.md for repository-wide code style and public snapshot rules. - Use two-space indentation in YAML. - Keep Helm templates opt-in, validate required values with required, and quote rendered string values. - Write validation scripts for POSIX sh. Use set -eu and clean temporary files with a trap. The chart marks the ClusterIssuer with Helm's keep resource policy.…

The file

We split this AGENTS.md into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run from the repository root:

    line 8
  2. Distinctive:

    Follow the repository root AGENTS.md for repository-wide code style and public snapshot rules.

    line 19
  3. Distinctive:

    Use two-space indentation in YAML.

    line 22
  4. Very specific:

    Keep Helm templates opt-in, validate required values with required, and quote rendered string values.

    line 23
  5. Very specific:

    Write validation scripts for POSIX sh.

    line 25
  6. Distinctive:

    Before disabling the issuer or uninstalling the chart, reconfigure or remove every certificate consumer.

    line 40
  7. Very specific:

    When changing clusterIssuer.name, apply the upgrade and verify that the new issuer is ready before moving certificate consumers to it.

    line 44
  8. Distinctive:

    After an upgrade, rollback, or uninstall:

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md - NVCF PKI chart

This native Helm chart provisions cluster-scoped PKI resources. It renders no resources unless clusterIssuer.enabled=true.

Validate

Run from the repository root:

helm lint deploy/helm/nvcf-pki
helm template nvcf-pki deploy/helm/nvcf-pki >/dev/null
deploy/helm/nvcf-pki/scripts/check-render.sh
git diff --check

Style

Follow the repository root AGENTS.md for repository-wide code style and public snapshot rules.

  • Use two-space indentation in YAML.
  • Keep Helm templates opt-in, validate required values with required, and quote rendered string values.
  • Write validation scripts for POSIX sh. Use set -eu and clean temporary files with a trap.

Retained issuer lifecycle

The chart marks the ClusterIssuer with Helm's keep resource policy. Helm does not delete it when an upgrade, rollback, or uninstall removes it from the rendered release. Helm also stops managing the retained object.

  • Setting clusterIssuer.enabled=false or uninstalling retains the current issuer.
  • Changing clusterIssuer.name creates the new issuer and retains the previous issuer.
  • A rollback can retain an issuer that is absent from the restored release.

Before disabling the issuer or uninstalling the chart, reconfigure or remove every certificate consumer. Roll out replacement consumers and verify their data paths first.

When changing clusterIssuer.name, apply the upgrade and verify that the new issuer is ready before moving certificate consumers to it.

After an upgrade, rollback, or uninstall:

  1. List active and retained issuers:

    kubectl get clusterissuers
  2. List certificate issuer references:

    kubectl get certificates --all-namespaces \
      -o custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,ISSUER-KIND:.spec.issuerRef.kind,ISSUER-NAME:.spec.issuerRef.name
  3. Set issuer_name to the previous clusterIssuer.name. Delete the retained issuer only when no active certificate references it:

    issuer_name=nvcf-openbao-pki
    kubectl delete clusterissuer "${issuer_name}"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.