Woodpecker is a community fork of the Drone CI system.
Go to file
Michael e61f97f8ac
Add RBAC to helm chart (#1373)
This PR fixes #1367 with the minimum needed (plus the basics of
annotations and labels, since some clusters need those for extra
verifications, OPA, Kyverno, etc.).

The added role is the minimum access I could get away with (tested each
verb and resource individually), since the Kubernetes go library seems
to use list and get even when not strictly necessary.

I've defaulted to inactive, setting the serviceAccount.rbac.create=true
will create the Role and roleBinding.

The changes only affect the woodpecker-agent chart, as the
woodpecker-server chart currently does nothing directly

# Tests

- [x] non default namespace (roleBindung uses namespace in a not
automatically rewritten position)
- [x] rbac.create enabled and disabled (nothing changes for disabled,
since the templates use a guard)
- [x] custom serviceAccount name
- [x] both roleBinding and role with no annotations, no lables, single
a&l, multiple each
- [x] helm deploy to Kubernetes, with all settings mentioned above

# Documentation

Added in the comments of the values.yaml. Taking it into the docs might
be helpful, but the Kubernetes section in the next docs is fairly empty,
possibly open a new issue and solve when the chart for next is mostly
done.
2022-10-30 22:47:58 +01:00
.github Fix screenshot upload for issue template (#1062) 2022-08-01 07:43:21 +02:00
.vscode Replace yarn with pnpm (#1240) 2022-10-08 16:15:07 +02:00
.woodpecker Add additional tag to next image with commit sha (#1365) 2022-10-29 19:28:47 +02:00
agent Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
charts Add RBAC to helm chart (#1373) 2022-10-30 22:47:58 +01:00
cli Fix pipeline cancel API endpoint and update Web and CLI clients (#1372) 2022-10-30 14:39:01 +01:00
cmd Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
contrib/woodpecker-test-repo/.woodpecker Create test repo on Gitpod start (#1248) 2022-10-09 22:13:04 +02:00
docker Migrate to certmagic (#360) 2022-09-04 03:24:42 +02:00
docs Update Mastodon link (#1364) 2022-10-29 14:07:35 +03:00
nfpm fix nfpm (#788) 2022-02-24 15:35:11 +01:00
pipeline Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
server Fix pipeline cancel API endpoint and update Web and CLI clients (#1372) 2022-10-30 14:39:01 +01:00
shared bump DefaultCloneImage version to v1.6.0 2022-10-13 16:50:32 +02:00
version gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
web Fix pipeline cancel API endpoint and update Web and CLI clients (#1372) 2022-10-30 14:39:01 +01:00
woodpecker-go Fix pipeline cancel API endpoint and update Web and CLI clients (#1372) 2022-10-30 14:39:01 +01:00
.changelog.yml Changelog for v0.14.1 (#334) (#340) 2021-09-23 02:21:28 +02:00
.ecrc Use editorconfig-checker (#982) 2022-06-17 12:03:34 +02:00
.editorconfig Use editorconfig-checker (#982) 2022-06-17 12:03:34 +02:00
.gitignore Make exec run be detected as WoodpeckerCI (#1218) 2022-09-27 22:19:39 +02:00
.gitpod.yml Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
.golangci.yml Support changed files for Gitea PRs (#1342) 2022-10-28 19:17:30 +02:00
CHANGELOG.md Frontport Changelog v0.15.3 to v0.15.5 (#1256) 2022-10-13 20:21:18 +02:00
CONTRIBUTING.md Add Code Review section to CONTRIBUTING.md (#1274) 2022-10-15 19:09:39 +02:00
docker-compose.example.yml Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
docker-compose.gitpod.yml Create test repo on Gitpod start (#1248) 2022-10-09 22:13:04 +02:00
go.mod Support changed files for Gitea PRs (#1342) 2022-10-28 19:17:30 +02:00
go.sum Support changed files for Gitea PRs (#1342) 2022-10-28 19:17:30 +02:00
LICENSE Optimize license files (#355) 2021-09-25 15:15:54 +02:00
Makefile Update dep moby & golang.org/x/text (#1263) 2022-10-14 13:01:06 +02:00
README.md Fix gitpod link (#1228) 2022-10-01 13:54:19 +02:00
SECURITY.md Create SECURITY.md (#396) 2021-10-03 16:15:58 +02:00

Woodpecker


Translation status


Woodpecker

Woodpecker is a community fork of the Drone CI system.

woodpecker

🫶 Support

Please consider to donate and become a backer. 🙏 [Become a backer]

🚀 Usage

.woodpecker.yml

  • Place your pipeline in a file named .woodpecker.yml in your repository
  • Pipeline steps can be named as you like
  • Run any command in the commands section

Read More

Build steps are containers

  • Define any Docker image as context
  • Install the needed tools in custom Docker images, use them as context

Read More

Plugins

Woodpecker has official plugins, but you can also use your own.

Read More

📖 Documentation

https://woodpecker-ci.org/

Contribute

See Contributing Guide

Open in Gitpod

📣 Translate

We use an own Weblate instance at translate.woodpecker-ci.org.

Translation status

👋 Who uses Woodpecker?

Codeberg, the Woodpecker project itself, and many others.

Leave a comment if you're using it as well.

Also consider using the topic WoodpeckerCI in your repository, so others can learn from your config and use the hashtag #WoodpeckerCI when talking about the project on social media!

Here are some places where people mention Woodpecker:

Stars over time

Stargazers over time

License

Woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.

Files under the docs/ folder are licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License.