@@ -578,7 +578,7 @@ alertmanager:
578578# #
579579server :
580580 username : admin
581- password : To6EJBHPUo
581+ password : Sx3EIELCA
582582 image :
583583 registry : registry.drycc.cc
584584 repository : drycc-addons/prometheus
@@ -636,7 +636,7 @@ server:
636636 {{- end }}
637637 {{- if .Values.scrapeAddons.enabled }}
638638 - job_name: addons
639- {{- include "addons.ds_scrape_config" (dict "context" $) | nindent 4 }}
639+ {{- include "addons.ds_scrape_config" (dict "value" .Values.scrapeNamespaces " context" $) | nindent 4 }}
640640 {{- end }}
641641 {{- if .Values.server.extraScrapeConfigs}}
642642 {{- include "common.tplvalues.render" (dict "value" .Values.server.extraScrapeConfigs "context" $) | nindent 2 }}
@@ -1558,3 +1558,51 @@ volumePermissions:
15581558
15591559scrapeAddons :
15601560 enabled : true
1561+
1562+ scrapeNamespaces :
1563+ - xx1
1564+ - xx2
1565+
1566+ configmapReload :
1567+ prometheus :
1568+ # # If false, the configmap-reload container will not be deployed
1569+ # #
1570+ enabled : true
1571+
1572+ # # configmap-reload container name
1573+ # #
1574+ name : configmap-reload
1575+
1576+ # # configmap-reload container image
1577+ # #
1578+ image :
1579+ repository : jimmidyson/configmap-reload
1580+ tag : v0.5.0
1581+ pullPolicy : IfNotPresent
1582+
1583+ # containerPort: 9533
1584+
1585+ # # Additional configmap-reload container arguments
1586+ # #
1587+ extraArgs : {}
1588+ # # Additional configmap-reload volume directories
1589+ # #
1590+ extraVolumeDirs : []
1591+
1592+
1593+ # # Additional configmap-reload mounts
1594+ # #
1595+ extraConfigmapMounts : []
1596+ # - name: prometheus-alerts
1597+ # mountPath: /etc/alerts.d
1598+ # subPath: ""
1599+ # configMap: prometheus-alerts
1600+ # readOnly: true
1601+
1602+ # # Security context to be added to configmap-reload container
1603+ containerSecurityContext : {}
1604+
1605+ # # configmap-reload resource requests and limits
1606+ # # Ref: http://kubernetes.io/docs/user-guide/compute-resources/
1607+ # #
1608+ resources : {}
0 commit comments