Skip to content

chore(sonar): exclude vendored charts and static assets from SonarCloud - #256

Closed
divyagovindaiah wants to merge 1 commit into
v1.1.3from
chore/sonarcloud-exclude-vendored
Closed

divyagovindaiah wants to merge 1 commit into
v1.1.3from
chore/sonarcloud-exclude-vendored

Conversation

@divyagovindaiah

Copy link
Copy Markdown
Collaborator

SonarCloud runs Automatic Analysis on this repo, which reads .sonarcloud.properties (sonar-project.properties is ignored).

About 1,945 of the 2,259 open issues come from upstream code we vendor and don't maintain: kube-prometheus-stack (1,684 are the S6893 "whitespace inside {{ }}" rule on its generated rules/dashboards), loki, reloader, kubernetes-dashboard, alloy, velero, volume-autoscaler, superset, keycloak, the keycloak login theme CSS, and the static FAQ pages under public-artifacts.

What changed

Touches:
Providers affected:

Why

Fixes #

  • I commented on the issue to say I was taking it

How this was verified

  • Static checks only — actionlint, shellcheck, hadolint, tofu validate
  • Deployed to my own cloud account and verified the result
  • Couldn't deploy — a maintainer will need to verify this

If deployed: which provider, environment name, and what you checked afterwards.

Resource impact

  • No change to CPU, memory or disk requests or limits
  • Requests or limits changed — stated below, and INFRA_DETAILS.md updated

Anything a reviewer should look at closely

Contribution Checklist

Link to your filled-in copy:

Before review

  • Opened against the latest v1.x.x development branch, not main
  • actionlint passes
  • shellcheck -S error passes on the scripts you touched
  • hadolint --failure-threshold error passes on any Dockerfile you touched
  • tofu validate passes for every module you touched
  • tofu fmt and helm lint are no worse than before
  • Documentation updated — README, INFRA_DETAILS.md or the provider READMEs, wherever this made them wrong

Supply chain

  • Not applicable — no workflow or Dockerfile changed
  • Any action added or updated is pinned to a commit SHA with a version comment
  • Workflow permissions are no broader than the job needs
  • Any base image added or updated is digest-pinned

Secrets

  • No cloud credentials, SSL private keys, API tokens, Ansible Vault passwords, kubeconfigs or account identifiers in the diff
  • No values from a filled-in global-values.yaml

Keycloak login theme

  • Not applicable — no change under scripts/keycloak-21.1.2/themes/
  • Changed, and styles=css/login.css?v=… bumped in theme.properties

Security

  • This change touches authentication, Keycloak, Kong, certificates, secret handling, or what is exposed publicly

SonarCloud runs Automatic Analysis on this repo, which reads
.sonarcloud.properties (sonar-project.properties is ignored).

About 1,945 of the 2,259 open issues come from upstream code we vendor
and don't maintain: kube-prometheus-stack (1,684 are the S6893
"whitespace inside {{ }}" rule on its generated rules/dashboards),
loki, reloader, kubernetes-dashboard, alloy, velero,
volume-autoscaler, superset, keycloak, the keycloak login theme CSS,
and the static FAQ pages under public-artifacts.
@sonarqubecloud

Copy link
Copy Markdown

@divyagovindaiah
divyagovindaiah deleted the chore/sonarcloud-exclude-vendored branch November 20, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant