mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
* Add Argo CD server Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Argo CD application controller Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Argo CD repo server component Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Dex component Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Fix linter errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Change staticasset paths and remove https port from server Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add README.md and NOTES.txt * Skip the admin password change by creating it automatically Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove unneeded comments Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Wait for redis to avoid tokens sync errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Dex validations and instructions Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add readme generator metadata Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Fix linter errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Address sugestions Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Redis image section to the values.yaml file Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Use empty default dex.config Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add trailing space Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Delete additional applications Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add http prefix to metrics ports Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove additionalProjects and add selfSigned to ingress values Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Execute readme-generator again Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove option to deploy as statefulset Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Use xxx.containerPorts instead of xxx.ports Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Do not edit files from other charts * Fix wrong template name Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add validation and render server configuration from string Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * conver to warning the config validation Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
38 lines
1.9 KiB
YAML
38 lines
1.9 KiB
YAML
{{- if .Values.repoServer.metrics.enabled }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "argocd.repo-server" . }}-metrics
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/component: repo-server
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
type: {{ .Values.repoServer.metrics.service.type }}
|
|
{{- if (or (eq .Values.repoServer.metrics.service.type "LoadBalancer") (eq .Values.repoServer.metrics.service.type "NodePort")) }}
|
|
externalTrafficPolicy: {{ .Values.repoServer.metrics.service.externalTrafficPolicy | quote }}
|
|
{{- end }}
|
|
{{ if eq .Values.repoServer.metrics.service.type "LoadBalancer" }}
|
|
loadBalancerSourceRanges: {{ .Values.repoServer.metrics.service.loadBalancerSourceRanges }}
|
|
{{ end }}
|
|
{{- if (and (eq .Values.repoServer.metrics.service.type "LoadBalancer") (not (empty .Values.repoServer.metrics.service.loadBalancerIP))) }}
|
|
loadBalancerIP: {{ .Values.repoServer.metrics.service.loadBalancerIP }}
|
|
{{- end }}
|
|
ports:
|
|
- name: metrics
|
|
targetPort: metrics
|
|
port: {{ .Values.repoServer.metrics.service.port }}
|
|
protocol: TCP
|
|
{{- if (and (or (eq .Values.repoServer.service.type "NodePort") (eq .Values.repoServer.service.type "LoadBalancer")) (not (empty .Values.repoServer.metrics.service.nodePort))) }}
|
|
nodePort: {{ .Values.repoServer.metrics.service.nodePort }}
|
|
{{- else if eq .Values.repoServer.metrics.service.type "ClusterIP" }}
|
|
nodePort: null
|
|
{{- end }}
|
|
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
|
|
app.kubernetes.io/component: repo-server
|
|
{{- end }} |