diff --git a/charts/cluster-registry-client/Chart.yaml b/charts/cluster-registry-client/Chart.yaml index 9ba9da4d..2e949e87 100644 --- a/charts/cluster-registry-client/Chart.yaml +++ b/charts/cluster-registry-client/Chart.yaml @@ -1,15 +1,19 @@ apiVersion: v2 name: cluster-registry-client -description: Cluster Registry is a Rest API representing the source of record for all Kubernetes clusters in the infrastructure fleet. All clusters are automatically registered, and the information is accurately reflected in the Cluster Registry using a client-server architecture. + +description: Cluster Registry is a Rest API representing the source of record for + all Kubernetes clusters in the infrastructure fleet. All clusters are automatically + registered, and the information is accurately reflected in the Cluster Registry + using a client-server architecture. type: application home: https://github.com/adobe/cluster-registry maintainers: -- name: aalexandru - email: aalexand@adobe.com -- name: radu-catalina - email: caradu@adobe.com + - name: aalexandru + email: aalexand@adobe.com + - name: radu-catalina + email: caradu@adobe.com -version: 0.1.3 -appVersion: "v1.4.1" +version: 0.1.4 +appVersion: v1.4.2 diff --git a/charts/cluster-registry-client/README.md b/charts/cluster-registry-client/README.md index 1049f77b..6a621b01 100644 --- a/charts/cluster-registry-client/README.md +++ b/charts/cluster-registry-client/README.md @@ -1,6 +1,6 @@ # cluster-registry-client -![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.4.1](https://img.shields.io/badge/AppVersion-v1.4.1-informational?style=flat-square) +![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.4.2](https://img.shields.io/badge/AppVersion-v1.4.2-informational?style=flat-square) Cluster Registry is a Rest API representing the source of record for all Kubernetes clusters in the infrastructure fleet. All clusters are automatically registered, and the information is accurately reflected in the Cluster Registry using a client-server architecture. @@ -28,6 +28,7 @@ Cluster Registry is a Rest API representing the source of record for all Kuberne | fullnameOverride | string | `"cluster-registry-client"` | | | image.pullPolicy | string | `"IfNotPresent"` | | | image.registry | string | `"ghcr.io/adobe/cluster-registry-client"` | | +| imagePullSecrets | list | `[]` | | | livenessProbe.httpGet.path | string | `"/healthz"` | | | livenessProbe.httpGet.port | int | `9091` | | | livenessProbe.initialDelaySeconds | int | `15` | | @@ -53,4 +54,4 @@ Cluster Registry is a Rest API representing the source of record for all Kuberne | terminationGracePeriodSeconds | int | `10` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) +Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2) diff --git a/charts/cluster-registry-client/templates/configmap.yaml b/charts/cluster-registry-client/templates/configmap.yaml index c30f230e..0aff2e5b 100644 --- a/charts/cluster-registry-client/templates/configmap.yaml +++ b/charts/cluster-registry-client/templates/configmap.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: "client-config" + name: client-config labels: {{- include "cluster-registry-client.labels" . | nindent 4 }} data: @@ -24,7 +24,7 @@ data: bindAddress: {{ .Values.clusterRegistryClient.alertmanagerWebhook.bindAddress }} {{- if gt (len .Values.clusterRegistryClient.alertmanagerWebhook.alertMap) 0 }} alertMap: - {{- range $_, $am := .Values.clusterRegistryClient.alertmanagerWebhook.alertMap }} + {{- range $_, $am := .Values.clusterRegistryClient.alertmanagerWebhook.alertMap }} - alertName: {{ $am.alertName }} onFiring: {{- toYaml $am.onFiring | nindent 12 }} diff --git a/charts/cluster-registry-client/templates/deployment.yaml b/charts/cluster-registry-client/templates/deployment.yaml index 314cfefe..bbc23b88 100644 --- a/charts/cluster-registry-client/templates/deployment.yaml +++ b/charts/cluster-registry-client/templates/deployment.yaml @@ -16,6 +16,10 @@ spec: annotations: kubectl.kubernetes.io/default-container: manager spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - args: - --leader-elect diff --git a/charts/cluster-registry-client/values.yaml b/charts/cluster-registry-client/values.yaml index 148ecfc3..05b26a36 100644 --- a/charts/cluster-registry-client/values.yaml +++ b/charts/cluster-registry-client/values.yaml @@ -1,8 +1,6 @@ -nameOverride: "cluster-registry-client" -fullnameOverride: "cluster-registry-client" - +nameOverride: cluster-registry-client +fullnameOverride: cluster-registry-client replicaCount: 2 - clusterRegistryClient: alertmanagerWebhook: bindAddress: 0.0.0.0:9092 @@ -17,28 +15,24 @@ clusterRegistryClient: leaderElect: true resourceNamespace: cluster-registry resourceName: 0c4967d2.registry.ethos.adobe.com - rbac: create: true - nameSuffix: "cluster-client" - + nameSuffix: cluster-client serviceAccount: # Specifies whether a service account should be created, else use: 'name: "default"'' create: true # The name of the service account to use. # If set, override, else will use chart fullname template - name: "cluster-registry-client" - + name: cluster-registry-client +imagePullSecrets: [] image: - pullPolicy: "IfNotPresent" - registry: "ghcr.io/adobe/cluster-registry-client" - + pullPolicy: IfNotPresent + registry: ghcr.io/adobe/cluster-registry-client ports: - name: metrics containerPort: 9090 - name: amwebhook containerPort: 9092 - resources: limits: cpu: 200m @@ -46,19 +40,16 @@ resources: requests: cpu: 100m memory: 200Mi - livenessProbe: httpGet: path: /healthz port: 9091 initialDelaySeconds: 15 periodSeconds: 20 - readinessProbe: httpGet: path: /readyz port: 9091 initialDelaySeconds: 5 periodSeconds: 10 - terminationGracePeriodSeconds: 10