fix(provision): security hardening from code review
- Add input validation: username regex + email format check in pipeline - Quote variables in .provision-env to prevent shell injection - Remove dead source command (each Woodpecker command is separate shell) - Use jq to build JSON payloads (prevents injection via group names) - Clean up git-crypt key on failure (use ; instead of &&) - Add Kyverno ndots lifecycle ignore to webhook-handler deployment
This commit is contained in:
parent
e51c063600
commit
410c893647
2 changed files with 19 additions and 6 deletions
|
|
@ -229,6 +229,9 @@ resource "kubernetes_deployment" "webhook_handler" {
|
|||
}
|
||||
}
|
||||
}
|
||||
lifecycle {
|
||||
ignore_changes = [spec[0].template[0].spec[0].dns_config]
|
||||
}
|
||||
}
|
||||
|
||||
resource "kubernetes_service" "webhook_handler" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue