add sonarqube
This commit is contained in:
16
manifest/sonarqube/templates/deployment.yaml
Normal file
16
manifest/sonarqube/templates/deployment.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
{{- if eq .Values.deploymentType "Deployment" }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ template "sonarqube.fullname" . }}
|
||||
labels: {{- include "sonarqube.workloadLabels" . | nindent 4 }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||
selector:
|
||||
matchLabels: {{- include "sonarqube.selectorLabels" . | nindent 6 }}
|
||||
{{- with .Values.deploymentStrategy }}
|
||||
strategy: {{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
template: {{- include "sonarqube.pod" . | nindent 4 }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user