harbor-terraform
Use when managing Harbor infrastructure as code with Terraform — projects, robot accounts, registries, replication rules, retention policies, webhooks, users…
Skill by Aidas-dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aidas-dev-harbor-terraform
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/harbor-terraform
What's inside
- Skill name
harbor-terraform- Description
- Use when managing Harbor infrastructure as code with Terraform — projects, robot accounts, registries, replication rules, retention policies, webhooks, users, groups, system config, and the goharbor/terraform-provider-harbor.
- License
- MIT
- Instructions
- 230 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Harbor Terraform Provider
Provider: `goharbor/harbor`. Latest: **v3.12.0** (Jun 4, 2026). Registry: `v3.11.6` (Apr 22, 2026). Source: `github.com/goharbor/terraform-provider-harbor`.
Tested against: Harbor 2.13–2.15, Terraform 1.12–1.14.
## Provider Config
```hcl
terraform {
required_providers {
harbor = {
source = "goharbor/harbor"
version = "~> 3.11"
}
}
}
provider "harbor" {
url = "https://harbor.example.com"
username = "admin"
password = var.harbor_password
insecure = false # Verify TLS (default: true — must explicitly set false)
}
```
### Auth Methods
| Method | Fields | Env Var |
|--------|--------|---------|
| Basic | `username` + `password` | `HARBOR_USERNAME`, `HARBOR_PASSWORD` |
| Bearer Token | `bearer_token` | — |
| OIDC Session | `session_id` | `HARBOR_SESSION_ID` |
`api_version` (default: 2) — use 1 for Harbor pre-2.0. `robot_prefix` — auto-detected via admin API unless explicitly set.
## Resources (20)
### Projects
```hcl
resource "harbor_project" "myapp" {
name = "myapp"
public = false
vulnerability_scanning = true
vulnerability_scanner = "Trivy" # v3.11.6+: per-project scanner override
enable_content_trust = true # Notary
enable_content_trust_cosign = false # Cosign signatures
auto_sbom_generation = true # Harbor 2.11+ SBOM on push
storage_quota = 100 # GB
deployment_security = "high" # Block images >= this severity
cve_allowlist = ["CVE-1234"]
force_destroy = false # Allow destroy even with repos
}
# Proxy cache project
resource "harbor_registry" "dockerhub" {
provider_name = "docker-hub"
name = "dockerhub-proxy"
endpoint_url = "https://hub.docker.com"
}
resource "harbor_project" "proxy" {
name = "docker-proxy"
registry_id = harbor_registry.dockerhub.registry_id
proxy_speed_kb = -1
proxy_cache_local_on_not_found = true # Harbor 2.15.1+
}
```
### Robot Accounts
```hcl
# System-level
resource "harbor_robot_account" "system" {
name = "ci-system"
description = "System-level CI robot"
level = "system"
secret = random_password.robot.result
permissions {
kind = "project"
namespace = "*" # All projects
access {
resource = "repository"
action = "pull"
}
}
}
# Project-level
resource "harbor_robot_account" "deploy" {
name = "ci-deploy"
description = "Deploy robot for myapp"
level = "project"
permissions {
kind = "project"
namespace = harbor_project.myapp.name
access {
resource = "repository"
action = "pull"
}
access {
resource = "repository"
action = "push"
}
}
}
```
### Replication
```hcl
resource "harbor_replication" "backup" {
name = "replicate-to-dr"
description = "Replicate myapp to DR site"
registry_id = harbor_registry.dr.registry_id
destination = "harbor"
filters {
name_filter = "myapp/**"
resource = "image"From Aidas-dev/k8s-agent-skills, MIT.
More from Aidas-dev/k8s-agent-skills
- 0.569score
harbor-api
Aidas-dev
Use when working with the Harbor REST API v2 — project management, artifact operations, robot accounts, replication, vulnerability scanning, OIDC/LDAP config…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-registry
Aidas-dev
Use when working with the Gitea container registry — OCI/Docker v2 API, push/pull images, multi-arch builds, package management via API, and configuration for…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-webhooks
Aidas-dev
Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
dragonfly
Aidas-dev
Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
atlas
Aidas-dev
Use when working with Atlas Operator on Kubernetes — creating or troubleshooting AtlasSchema or AtlasMigration resources; configuring DevDB, migration…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cilium-gateway
Aidas-dev
Use when creating Gateway API resources for ingress, configuring TLS termination or passthrough, setting up HTTP-to-HTTPS redirect or traffic splitting…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cilium-network
Aidas-dev
Use when configuring Cilium CNI networking, writing network policies, debugging pod connectivity issues, setting up LB IPAM or L2 announcements for Service…
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jun 11, 2026 (4 months ago)
- Last release
- Aug 14, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Aidas-dev/k8s-agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Aidas-dev
- 0.569score
dragonfly
Aidas-dev
Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9
Cite this page
harbor-terraform skill. Agent Mart. https://agentmart.dev/skills/aidas-dev-harbor-terraform (last updated 2026-10-24)