Add setup-openfaas skill#3
Conversation
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
AI Pull Request OverviewDisclaimer: This review was generated by automated AI and may contain errors. Do not trust its outputs without human verification. Summary
Approval rating (1-10)7 — useful and well-organized, but the Summary per fileSummary per file
Overall AssessmentThe skill is thorough and production-aware (leader election note, NATS replication caveat, GitOps credential guidance). The structure is clear. There are two issues that will cause real failures for users following the document as written, and one minor security hygiene gap. None are difficult to fix. Detailed ReviewDetailed Review
|
Description
Adds a new
setup-openfaasskill that installs and configures OpenFaaS into an existing Kubernetes cluster via the officialfaas-netesHelm chart.The skill covers:
values-pro.yamloverlay: gateway + operator with leader election, Pro autoscaler, JetStream queue-worker, dashboard, NATS, and security context.openfaasPro: trueflag, with Enterprise-specific notes for multi-namespace (openfaas=1label) and operator client rate limits.issuer-key,aes-key, and OIDC client-secret K8s secrets and adds theiam:/iam.dashboardIssuer:blocks to the values file. Creation ofJwtIssuer,Policy, andRoleCRs is flagged as a post-install task with a link to the IAM walkthrough.External Helm charts (event connectors, dedicated queue-workers, Pro Function Builder, OIDC proxy, external NATS) and ingress/TLS/DNS setup are explicitly out of scope for this initial version.
The README skills table is updated with the new entry.
Motivation and context
Up to now there's no canonical skill that walks an agent through installing OpenFaaS end-to-end.
How has this been tested
The skill was exercised end-to-end on two real clusters:
faas-cli, and confirmed the dashboard was reachable via port-forward.gateway.replicas: 3,queueWorker.replicas: 3, andleaderElection.enabled: true; verified all core pods reached Ready and the cluster behaved correctly under multi-replica configuration.In addition, follow-up prompts were tested to confirm the skill is usable for ongoing operations, not just initial install. For example: asked the agent to "extend the gateway timeouts to 1h" — it edited the values file in place, ran
helm upgradewith the same arguments, and the newupstreamTimeout/readTimeout/writeTimeoutwere applied to the gateway deployment as expected.