Loading
Commits on Source 23
-
Radek Antoniuk authored
With metrics.enabled, the runner pod always gets prometheus.io/scrape and prometheus.io/port annotations. When a podMonitor or serviceMonitor also scrapes the pod, a Prometheus that honors both scrapes it twice and stores duplicate series under different jobs. Setting metrics.prometheusAnnotations.enabled to false drops the two annotations. A key set in podAnnotations now replaces the default one instead of rendering a duplicate YAML key. The default is unchanged. Resolves #597 Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>
-
Radek Antoniuk authored
Matches how the podMonitor and serviceMonitor toggles are read; values.yaml always provides the default.
-
Radek Antoniuk authored
-
Andrew Dunn authored
The chart only copies apiGroups, resources and verbs from each entry in rbac.rules and drops every other key without a word. A rule that sets resourceNames to scope access to one secret is therefore rendered without the names, and the Role grants that verb on every secret in the namespace. A rule that sets only nonResourceURLs is rendered with the same verbs on every core resource. Fail the render instead, naming the rule index, the key and what to do. Rules without those keys render byte for byte as before.
-
Auto Runner Releaser authored
-
Axel von Bertoldi authored
feat: add metrics.prometheusAnnotations.enabled to drop scrape annotations Closes #597 See merge request !560 Merged-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Reviewed-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Co-authored-by:
Radek Antoniuk <radek.antoniuk@gmail.com>
-
Lachlan Grant authored
fix: reject resourceNames and nonResourceURLs in rbac.rules See merge request !561 Merged-by:
Lachlan Grant <lgrant@gitlab.com> Approved-by:
Lachlan Grant <lgrant@gitlab.com> Co-authored-by:
Andrew Dunn <andunn@gitlab.com> -
Lachlan Grant authored
The chart copies only apiGroups, resources and verbs from each rule. A misspelled key, such as resource_names, was dropped without a message. The rule then rendered as a wider Role than the user wrote. A null or string entry failed with a raw template error. Fail the render when a rule sets a key other than apiGroups, resources, verbs, resourceNames or nonResourceURLs, and when a rule is not a map. The error names the rule index and the key. The two existing keys keep their own messages.
-
Lachlan Grant authored
List all unsupported keys of a rule, sorted, in one message. Check resourceNames and nonResourceURLs first, so their own advice shows before the unsupported key error. Upgrade note: a release that sets a key other than apiGroups, resources, verbs, resourceNames or nonResourceURLs in rbac.rules now fails to render. Nothing is applied, and the running Role stays as it is.
-
Lachlan Grant authored
helm-unittest 0.3.4, the version CI pins, compares errorMessage against the text after the last colon in the error. The unsupported keys message had a colon before the key list, so two tests saw only the key list. Remove the colon so the full message is compared. Co-Authored-By:Claude Sonnet 5.5 <noreply@anthropic.com>
-
Lachlan Grant authored
Move the allowed-key list out of the range expression in the rbac rules validation. The list now has one name and sits on its own line. Co-Authored-By:Claude Sonnet 5.5 <noreply@anthropic.com>
-
Auto Runner Releaser authored
-
Auto Runner Releaser authored
-
Auto Runner Releaser authored
-
Auto Runner Releaser authored
-
Auto Runner Releaser authored
-
Auto Runner Releaser authored
-
Auto Runner Releaser authored
-
Arran Walker authored
fix: reject unknown keys and non-map entries in rbac.rules See merge request !562 Merged-by:
Arran Walker <ajwalker@gitlab.com> Approved-by:
GitLab Duo <gitlab-duo@gitlab.com> Approved-by:
Arran Walker <ajwalker@gitlab.com> Co-authored-by:
Lachlan Grant <lgrant@gitlab.com>
-
Manish Kumar authored
-
Vishal Tak authored
Add support for Kubernetes user namespaces (closes #440) Closes #440 See merge request !565 Merged-by:
Vishal Tak <vtak@gitlab.com>
Approved-by:
Vishal Tak <vtak@gitlab.com>
Reviewed-by:
Vishal Tak <vtak@gitlab.com>
Reviewed-by: GitLab Duo <gitlab-duo@gitlab.com> Co-authored-by:
Manish Kumar <manishpatel953249@gmail.com> Co-authored-by:
MANISH KUMAR <146671113+manishpatel00@users.noreply.github.com>
-
Auto Runner Releaser authored
-
Auto Runner Releaser authored