woodpecker/docs
Andrew Melnick b52b021acb
Implement registries for Kubernetes backend (#4092)
According to [the documentation](https://woodpecker-ci.org/docs/administration/backends/kubernetes#images-from-private-registries), per-organization and per-pipeline registries are currently unsupported for the Kubernetes backend.

This patch implements this missing functionality by creating and deleting a matching secret for each pod with a matched registry, using the same name, labels, and annotations as the pod, and appending it to its `imagePullSecrets` list.

This patch adds tests for the new functionality, and has been manually end-to-end-tested in KinD by using a private image hosted in the matching gitea instance.

This will require updating the matching helm charts to add the create/delete permissions to the agent role, which **is already done**.

close  #2987
2024-09-30 01:03:05 +01:00
..
blog Add community posts from discussions (#4058) 2024-08-26 09:10:14 +02:00
docs Implement registries for Kubernetes backend (#4092) 2024-09-30 01:03:05 +01:00
plugins/woodpecker-plugins Update dependency marked to v14 (#4036) 2024-08-15 17:33:04 +02:00
src Overhaul README (#3995) 2024-08-05 01:27:25 +02:00
static/img Cleanups + prefer .yaml (#3069) 2024-01-11 18:43:54 +01:00
versioned_docs Overhaul README (#3995) 2024-08-05 01:27:25 +02:00
versioned_sidebars Add docs for v2.7.0 (#3921) 2024-07-18 14:57:03 +02:00
.gitignore [Docs] Migrate docs framework to Docusaurus (#282) 2021-09-11 17:10:32 +02:00
babel.config.js [Docs] Migrate docs framework to Docusaurus (#282) 2021-09-11 17:10:32 +02:00
docusaurus.config.ts Fix inline author warning (#4040) 2024-08-15 19:54:52 +02:00
LICENSE Optimize license files (#355) 2021-09-25 15:15:54 +02:00
package.json Update docs npm deps non-major (#4033) 2024-08-15 17:10:04 +02:00
pnpm-lock.yaml Update dependency marked to v14 (#4036) 2024-08-15 17:33:04 +02:00
pnpm-workspace.yaml Fix docs build (#1690) 2023-04-03 12:30:01 +02:00
README.md Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00
sidebars.js Add prettier (#2600) 2023-10-24 14:42:05 +02:00
tsconfig.json Update prettier version (#3471) 2024-03-08 14:57:34 +01:00
versions.json Add docs for v2.7.0 (#3921) 2024-07-18 14:57:03 +02:00
woodpecker.png Update some readme wording (#4023) 2024-08-11 10:26:26 +02:00

Website

This website is built using Docusaurus 3, a modern static website generator.

Installation

pnpm install

Local Development

pnpm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

pnpm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Deployment happen via CI to woodpecker-ci.org.

To manually build the website and push it exec:

GIT_USER=woodpecker-bot USE_SSH=true DEPLOYMENT_BRANCH=main pnpm deploy