Files
homelab/components/dev-tools/overlays/default/kustomization.yaml
rblundon fe564d7227 Squashed 'cluster-config/' content from commit 654f2390
git-subtree-dir: cluster-config
git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
2025-03-30 15:46:16 -05:00

49 lines
1.1 KiB
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: dev-tools
bases:
# Nexus
- https://github.com/redhat-cop/gitops-catalog/nexus2/base
# Sonarqube
- sonarqube-admin-secret.yaml
- https://github.com/redhat-cop/gitops-catalog/sonarqube8/base
- configure-sonarqube-job.yaml
resources:
- namespace.yaml
patches:
- patch: |-
- op: replace
path: /spec/template/spec/containers/0/image
value: sonarqube:lts-community
target:
kind: Deployment
name: sonarqube
- patch: |-
- op: add
path: /spec/template/spec/containers/0/env
value:
- name: SONAR_JDBC_PASSWORD
value: kHPdpIYtdtGXeStv
- name: SONAR_JDBC_URL
value: 'jdbc:postgresql://postgresql-sonarqube/sonar'
- name: SONAR_JDBC_USERNAME
value: sonar
- name: SONAR_TELEMETRY_ENABLE
value: 'false'
- name: SONAR_PLUGINS_RISK_CONSENT
value: ACCEPTED
target:
kind: Deployment
name: sonarqube
- patch: |-
- op: add
path: /spec/tls
value:
termination: edge
target:
kind: Route