diff --git a/README.md b/README.md index cb2ae4a22..1e36182c2 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ This repository contains public helm charts for the OpenMFP project. ## Taskfile It uses Taskfile and task command to local dev tooling. The following tasks are available: `lint, helmtest, test, update, validate, vulnerability, helm-docs`. +## Updating charts +If a chart is changed, it could be dependency of other chart or its dependencies must be updated. To do it, run `task update`. + ## Helm-docs Using https://github.com/norwoodj/helm-docs to generate charts documentation. Documentation can be updated by running `task helm-docs` command. diff --git a/Taskfile.yaml b/Taskfile.yaml index 86b69cee2..637a89b97 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -3,7 +3,7 @@ version: '3' vars: LOCAL_BIN: bin CHARTS: - sh: "ls charts/ | sed 's/^/charts\\//g' | paste -sd ',' -" + sh: "ls -d charts/*/ | paste -sd ',' -" tasks: ## Setup setup:kube-lint: diff --git a/charts/README.md.gotmpl b/charts/_templates.gotmpl similarity index 71% rename from charts/README.md.gotmpl rename to charts/_templates.gotmpl index 5b32f6fc8..88068dfd7 100644 --- a/charts/README.md.gotmpl +++ b/charts/_templates.gotmpl @@ -9,6 +9,8 @@ {{ template "chart.valuesHeader" . }} +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + {{ template "chart.valuesTable" . }} {{ template "helm-docs.versionFooter" . }} diff --git a/charts/account-operator-crds/README.md b/charts/account-operator-crds/README.md index 68367402d..0b51161f3 100644 --- a/charts/account-operator-crds/README.md +++ b/charts/account-operator-crds/README.md @@ -1,5 +1,21 @@ # account-operator-crds +A Helm chart for Kubernetes + +![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) + +## Additional Information + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| kcp.enabled | bool | `false` | | + +# account-operator-crds + ![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) A Helm chart for Kubernetes diff --git a/charts/account-operator/README.md b/charts/account-operator/README.md index 563a26117..dca0e026c 100644 --- a/charts/account-operator/README.md +++ b/charts/account-operator/README.md @@ -1,5 +1,53 @@ # account-operator +A Helm chart for Kubernetes + +![Version: 0.4.20](https://img.shields.io/badge/Version-0.4.20-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.106.0](https://img.shields.io/badge/AppVersion-0.106.0-informational?style=flat-square) + +## Additional Information + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| file://../account-operator-crds | account-operator-crds | 0.1.5 | +| file://../common | common | 0.1.5 | + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| crds.enabled | bool | `true` | | +| deployment.resources.limits.cpuOverride | string | `"260m"` | | +| deployment.resources.limits.memoryOverride | string | `"512Mi"` | | +| deployment.resources.requests.cpuOverride | string | `"150m"` | | +| deployment.resources.requests.memoryOverride | string | `"128Mi"` | | +| deployment.revisionHistoryLimit | int | `3` | | +| deployment.specTemplate.annotations | object | `{}` | | +| deployment.specTemplate.labels | object | `{}` | | +| image.name | string | `"ghcr.io/openmfp/account-operator"` | | +| image.tag | string | `"latest"` | | +| kcp.enabled | bool | `false` | | +| kcp.virtualWorkspaceUrl | string | `""` | | +| kubeconfigSecret | string | `""` | | +| logLevel | string | `"warn"` | | +| security.mountServiceAccountToken | bool | `false` | | +| subroutines.extension.enabled | bool | `true` | | +| subroutines.extensionReady.enabled | bool | `true` | | +| subroutines.fga.creatorRelation | string | `"owner"` | | +| subroutines.fga.enabled | bool | `true` | | +| subroutines.fga.grpcAddr | string | `""` | | +| subroutines.fga.objectType | string | `"account"` | | +| subroutines.fga.parentRelation | string | `"parent"` | | +| subroutines.fga.rootNamespace | string | `"openmfp-root"` | | +| subroutines.namespace.enabled | bool | `true` | | +| webhooks.certDir | string | `"/certs"` | | +| webhooks.enabled | bool | `false` | | + +# account-operator + ![Version: 0.4.20](https://img.shields.io/badge/Version-0.4.20-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.106.0](https://img.shields.io/badge/AppVersion-0.106.0-informational?style=flat-square) A Helm chart for Kubernetes @@ -23,14 +71,12 @@ A Helm chart for Kubernetes | deployment.revisionHistoryLimit | int | `3` | | | deployment.specTemplate.annotations | object | `{}` | | | deployment.specTemplate.labels | object | `{}` | | -| health.port | int | `8081` | | | image.name | string | `"ghcr.io/openmfp/account-operator"` | | | image.tag | string | `"latest"` | | | kcp.enabled | bool | `false` | | | kcp.virtualWorkspaceUrl | string | `""` | | | kubeconfigSecret | string | `""` | | | logLevel | string | `"warn"` | | -| metrics.port | int | `8080` | | | security.mountServiceAccountToken | bool | `false` | | | subroutines.extension.enabled | bool | `true` | | | subroutines.extensionReady.enabled | bool | `true` | | diff --git a/charts/account-operator/charts/account-operator-crds-0.1.5.tgz b/charts/account-operator/charts/account-operator-crds-0.1.5.tgz index b1480792e..e9082958f 100644 Binary files a/charts/account-operator/charts/account-operator-crds-0.1.5.tgz and b/charts/account-operator/charts/account-operator-crds-0.1.5.tgz differ diff --git a/charts/account-operator/charts/common-0.1.5.tgz b/charts/account-operator/charts/common-0.1.5.tgz index 281694cfb..f87ebaa00 100644 Binary files a/charts/account-operator/charts/common-0.1.5.tgz and b/charts/account-operator/charts/common-0.1.5.tgz differ diff --git a/charts/account-operator/templates/deployment.yaml b/charts/account-operator/templates/deployment.yaml index 061eff12a..f074ad6b9 100644 --- a/charts/account-operator/templates/deployment.yaml +++ b/charts/account-operator/templates/deployment.yaml @@ -33,7 +33,7 @@ spec: - operator - --leader-elect - --log-level={{ .Values.logLevel }} - - "--health-probe-bind-address=:{{ .Values.health.port }}" + - '--health-probe-bind-address=:{{ include "common.getKeyValue" (dict "Values" .Values "key" "health.port") }}' image: {{ .Values.image.name }}:{{ .Chart.AppVersion }} name: manager {{ include "common.security" . | nindent 10 }} diff --git a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap index b2f5a9e54..6f8e0f70f 100644 --- a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap +++ b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap @@ -344,7 +344,7 @@ operator match the snapshot: httpGet: path: /readyz port: 8081 - initialDelaySeconds: 45 + initialDelaySeconds: 5 periodSeconds: 10 resources: limits: @@ -362,7 +362,7 @@ operator match the snapshot: startupProbe: failureThreshold: 30 httpGet: - path: /healthz + path: /readyz port: 8081 periodSeconds: 10 volumeMounts: null @@ -724,7 +724,7 @@ operator match the snapshot (with kubeconfigSecret): httpGet: path: /readyz port: 8081 - initialDelaySeconds: 45 + initialDelaySeconds: 5 periodSeconds: 10 resources: limits: @@ -742,7 +742,7 @@ operator match the snapshot (with kubeconfigSecret): startupProbe: failureThreshold: 30 httpGet: - path: /healthz + path: /readyz port: 8081 periodSeconds: 10 volumeMounts: diff --git a/charts/account-operator/tests/deployment_test.yaml b/charts/account-operator/tests/deployment_test.yaml index 91a8a9be0..0f5acf693 100644 --- a/charts/account-operator/tests/deployment_test.yaml +++ b/charts/account-operator/tests/deployment_test.yaml @@ -6,6 +6,8 @@ release: tests: - it: operator match the snapshot set: + # health: + # portOverride: 8080 deployment: resources: limits: @@ -24,10 +26,14 @@ tests: - it: operator match the snapshot with webhook enabled set: health: - port: 8081 + # portOverride: 8081 liveness: - path: "/healthz" + pathOverride: "/healthz" # failureThreshold: 1 + startup: + pathOverride: "/healthz" + readiness: + initialDelaySecondsOverride: 45 webhooks: enabled: true certDir: /certs diff --git a/charts/account-operator/values.yaml b/charts/account-operator/values.yaml index 99bdd1846..45ead68f5 100644 --- a/charts/account-operator/values.yaml +++ b/charts/account-operator/values.yaml @@ -14,34 +14,6 @@ webhooks: enabled: false certDir: /certs -# The health probe configuration -## @param health.port The port for the health probe -## @param health.periodSeconds The period in seconds for performing the probe -## @param health.readiness.path The path for the readiness probe -## @param health.readiness.initialDelaySeconds The initial delay in seconds before starting the readiness probe -## @param health.readiness.periodSeconds The period in seconds for performing the readiness probe -## @param health.liveness.path The path for the liveness probe -## @param health.liveness.failureThreshold The failure threshold for the liveness probe -## @param health.startup.path The path for the startup probe -## @param health.startup.failureThreshold The failure threshold for the startup probe -health: - port: 8081 - # periodSeconds: 10 - # readiness: - # path: "/readyz" - # initialDelaySeconds: 5 - # periodSeconds: 10 - # liveness: - # path: "/healthz" - # failureThreshold: 1 - # startup: - # path: "/readyz" - # failureThreshold: 30 - -# The metrics configuration -## @param metrics.port The port for the metrics -metrics: - port: 8080 # The deployment configuration ## @param deployment.specTemplate.annotations The annotations to add to the deployment template diff --git a/charts/common/README.md b/charts/common/README.md index e5bfa9659..6dd78ca5f 100644 --- a/charts/common/README.md +++ b/charts/common/README.md @@ -33,17 +33,27 @@ Example | defaults.deployment.resources.limits | object | `{"cpu":"100m","memory":"512Mi"}` | cpu and memory limits for the deployment | | defaults.deployment.resources.requests | object | `{"cpu":"40m","memory":"50Mi"}` | cpu and memory requests for the deployment | | defaults.deployment.strategy | string | `"RollingUpdate"` | deployment strategy | +| defaults.health.liveness | object | `{"failureThreshold":1,"path":"/healthz"}` | liveness probe parameters | +| defaults.health.periodSeconds | int | `10` | health period | +| defaults.health.port | int | `8081` | health port | +| defaults.health.readiness | object | `{"initialDelaySeconds":5,"path":"/readyz","periodSeconds":10}` | readiness probe parameters | +| defaults.health.startup | object | `{"failureThreshold":30,"path":"/readyz"}` | startup probe parameters | | defaults.imagePullPolicy | string | `"Always"` | imagePullPolicy is the policy to use when pulling images for all charts | | defaults.imagePullSecret | string | `"github"` | imagePullSecret is the name of the secret that holds the docker registry credentials | +| defaults.metrics.port | int | `8080` | metrics port | # common +A Helm chart for Kubernetes + ![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) -A Helm chart for Kubernetes +## Additional Information ## Values +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + | Key | Type | Default | Description | |-----|------|---------|-------------| | defaults.certManager.enabled | bool | `false` | toggle to enable/disable cert-manager | @@ -52,6 +62,12 @@ A Helm chart for Kubernetes | defaults.deployment.resources.limits | object | `{"cpu":"100m","memory":"512Mi"}` | cpu and memory limits for the deployment | | defaults.deployment.resources.requests | object | `{"cpu":"40m","memory":"50Mi"}` | cpu and memory requests for the deployment | | defaults.deployment.strategy | string | `"RollingUpdate"` | deployment strategy | +| defaults.health.liveness | object | `{"failureThreshold":1,"path":"/healthz"}` | liveness probe parameters | +| defaults.health.periodSeconds | int | `10` | health period | +| defaults.health.port | int | `8081` | health port | +| defaults.health.readiness | object | `{"initialDelaySeconds":5,"path":"/readyz","periodSeconds":10}` | readiness probe parameters | +| defaults.health.startup | object | `{"failureThreshold":30,"path":"/readyz"}` | startup probe parameters | | defaults.imagePullPolicy | string | `"Always"` | imagePullPolicy is the policy to use when pulling images for all charts | | defaults.imagePullSecret | string | `"github"` | imagePullSecret is the name of the secret that holds the docker registry credentials | +| defaults.metrics.port | int | `8080` | metrics port | diff --git a/charts/common/templates/_deploymentHelpers.tpl b/charts/common/templates/_deploymentHelpers.tpl index b8661b42e..bf6de7358 100644 --- a/charts/common/templates/_deploymentHelpers.tpl +++ b/charts/common/templates/_deploymentHelpers.tpl @@ -90,22 +90,22 @@ ports: {{- define "common.operatorHealthAndReadyness" }} livenessProbe: httpGet: - path: {{ ((.Values.health).liveness).path | default "/healthz" }} - port: {{ (.Values.health).port | default 3389 }} - failureThreshold: {{ ((.Values.health).liveness).failureThreshold | default 1 }} - periodSeconds: {{ (.Values.health).periodSeconds | default 10 }} + path: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.liveness.path") }} + port: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.port") }} + failureThreshold: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.liveness.failureThreshold") }} + periodSeconds: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.periodSeconds") }} startupProbe: httpGet: - path: {{ ((.Values.health).startup).path | default "/healthz" }} - port: {{ (.Values.health).port | default 3389 }} - failureThreshold: {{ ((.Values.health).startup).failureThreshold | default 30 }} - periodSeconds: {{ (.Values.health).periodSeconds | default 10 }} + path: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.startup.path") }} + port: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.port") }} + failureThreshold: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.startup.failureThreshold") }} + periodSeconds: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.periodSeconds") }} readinessProbe: httpGet: - path: {{ ((.Values.health).readiness).path | default "/readyz" }} - port: {{ (.Values.health).port | default 3389 }} - initialDelaySeconds: {{ ((.Values.health).readiness).initialDelaySeconds | default 45 }} - periodSeconds: {{ (.Values.health).periodSeconds | default 10 }} + path: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.readiness.path") }} + port: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.port") }} + initialDelaySeconds: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.readiness.initialDelaySeconds") }} + periodSeconds: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.periodSeconds") }} {{- end }} {{- define "common.security" -}} securityContext: @@ -124,9 +124,9 @@ automountServiceAccountToken: {{ not (eq (.Values.security).mountServiceAccountT {{- end }} {{- define "common.PortsMetricsHealth" -}} - name: metrics - containerPort: {{ ((.Values).metrics).port | default 2112 }} + containerPort: {{ include "common.getKeyValue" (dict "Values" .Values "key" "metrics.port") }} protocol: TCP - name: health-port - containerPort: {{ (.Values.health).port | default 3389 }} + containerPort: {{ include "common.getKeyValue" (dict "Values" .Values "key" "health.port") }} protocol: TCP {{- end -}} \ No newline at end of file diff --git a/charts/common/values.yaml b/charts/common/values.yaml index b1bc55392..248de5aaa 100644 --- a/charts/common/values.yaml +++ b/charts/common/values.yaml @@ -26,3 +26,27 @@ defaults: maxUnavailable: 0 # -- deployment strategy strategy: RollingUpdate + + + health: + # -- health port + port: 8081 + # -- health period + periodSeconds: 10 + # -- readiness probe parameters + readiness: + path: "/readyz" + initialDelaySeconds: 5 + periodSeconds: 10 + # -- liveness probe parameters + liveness: + path: "/healthz" + failureThreshold: 1 + # -- startup probe parameters + startup: + path: "/readyz" + failureThreshold: 30 + + metrics: + # -- metrics port + port: 8080 diff --git a/charts/example-content/README.md b/charts/example-content/README.md index f2200fd93..4f2cf5d5a 100644 --- a/charts/example-content/README.md +++ b/charts/example-content/README.md @@ -1,5 +1,37 @@ # example-content +Helm Chart for the openmfp Portal + +![Version: 0.110.4](https://img.shields.io/badge/Version-0.110.4-informational?style=flat-square) ![AppVersion: 0.123.0](https://img.shields.io/badge/AppVersion-0.123.0-informational?style=flat-square) + +## Additional Information + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| oci://ghcr.io/openmfp/helm-charts | common | 0.1.4 | + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| deployment.maxSurge | int | `5` | | +| deployment.maxUnavailable | int | `0` | | +| image.name | string | `"ghcr.io/openmfp/example-content"` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.pullSecret | string | `"github"` | | +| istio.enabled | bool | `true` | | +| istio.gateway.name | string | `"gateway"` | | +| istio.virtualService.hosts[0] | string | `"your-host.com"` | | +| istio.virtualService.matchers[0].match[0].uri.exact | string | `"/ui/example-content"` | | +| istio.virtualService.matchers[0].match[1].uri.prefix | string | `"/ui/example-content/"` | | +| port | int | `8080` | | + +# example-content + ![Version: 0.110.4](https://img.shields.io/badge/Version-0.110.4-informational?style=flat-square) ![AppVersion: 0.123.0](https://img.shields.io/badge/AppVersion-0.123.0-informational?style=flat-square) Helm Chart for the openmfp Portal diff --git a/charts/extension-manager-operator-crds/README.md b/charts/extension-manager-operator-crds/README.md index 8ac00bcf6..e78abad78 100644 --- a/charts/extension-manager-operator-crds/README.md +++ b/charts/extension-manager-operator-crds/README.md @@ -1,5 +1,20 @@ # extension-manager-operator-crds +A Helm chart for Kubernetes + +![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: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) + +## Additional Information + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| + +# extension-manager-operator-crds + ![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: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) A Helm chart for Kubernetes diff --git a/charts/extension-manager-operator/README.md b/charts/extension-manager-operator/README.md index 1f95dedf1..b3470680e 100644 --- a/charts/extension-manager-operator/README.md +++ b/charts/extension-manager-operator/README.md @@ -1,5 +1,48 @@ # extension-manager-operator +A Helm chart for extension-manager-operator + +![Version: 0.22.34](https://img.shields.io/badge/Version-0.22.34-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.66.0](https://img.shields.io/badge/AppVersion-0.66.0-informational?style=flat-square) + +## Additional Information + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| file://../common | common | 0.1.5 | +| file://../extension-manager-operator-crds | extension-manager-operator-crds | 0.1.3 | + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| commonAnnotations | object | `{}` | | +| crds.enabled | bool | `true` | | +| deployment.resources.limits.cpu | string | `"260m"` | | +| deployment.resources.limits.memory | string | `"512Mi"` | | +| deployment.resources.requests.cpu | string | `"150m"` | | +| deployment.resources.requests.memory | string | `"128Mi"` | | +| deployment.revisionHistoryLimit | int | `3` | | +| deployment.template | string | `nil` | | +| health.liveness.failureThreshold | int | `1` | | +| health.liveness.path | string | `"/healthz"` | | +| health.periodSeconds | int | `10` | | +| health.port | int | `8081` | | +| health.readiness.initialDelaySeconds | int | `5` | | +| health.readiness.path | string | `"/readyz"` | | +| health.readiness.periodSeconds | int | `10` | | +| health.startup.failureThreshold | int | `30` | | +| health.startup.path | string | `"/readyz"` | | +| image.name | string | `"ghcr.io/openmfp/extension-content-operator"` | | +| image.tag | string | `"0.16.0"` | | +| imagePullPolicy | string | `"Always"` | | +| metrics.port | int | `8080` | | + +# extension-manager-operator + ![Version: 0.22.34](https://img.shields.io/badge/Version-0.22.34-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.66.0](https://img.shields.io/badge/AppVersion-0.66.0-informational?style=flat-square) A Helm chart for extension-manager-operator diff --git a/charts/extension-manager-operator/charts/common-0.1.5.tgz b/charts/extension-manager-operator/charts/common-0.1.5.tgz index c2ec67e07..46ab5e9fe 100644 Binary files a/charts/extension-manager-operator/charts/common-0.1.5.tgz and b/charts/extension-manager-operator/charts/common-0.1.5.tgz differ diff --git a/charts/extension-manager-operator/charts/extension-manager-operator-crds-0.1.3.tgz b/charts/extension-manager-operator/charts/extension-manager-operator-crds-0.1.3.tgz index f64ee2c04..bf6db6bf7 100644 Binary files a/charts/extension-manager-operator/charts/extension-manager-operator-crds-0.1.3.tgz and b/charts/extension-manager-operator/charts/extension-manager-operator-crds-0.1.3.tgz differ diff --git a/charts/extension-manager-operator/tests/__snapshot__/deployment_test.yaml.snap b/charts/extension-manager-operator/tests/__snapshot__/deployment_test.yaml.snap index 90ea5d6e1..158879b53 100644 --- a/charts/extension-manager-operator/tests/__snapshot__/deployment_test.yaml.snap +++ b/charts/extension-manager-operator/tests/__snapshot__/deployment_test.yaml.snap @@ -111,7 +111,7 @@ operator match the snapshot: periodSeconds: 10 resources: limits: - cpu: 100m + cpu: 260m memory: 512Mi requests: cpu: 40m diff --git a/charts/extension-manager-operator/tests/deployment_test.yaml b/charts/extension-manager-operator/tests/deployment_test.yaml index 39f3d55e3..70f3cc249 100644 --- a/charts/extension-manager-operator/tests/deployment_test.yaml +++ b/charts/extension-manager-operator/tests/deployment_test.yaml @@ -19,19 +19,19 @@ tests: istio: enabled: true health: - port: 8081 + portOverride: 8081 liveness: - path: /readyz + pathOverride: /readyz metrics: port: 8080 deployment: resources: limits: - cpu: 260m - memory: 512Mi + cpuOverride: 260m + memoryOverride: 512Mi requests: - cpu: 40m - memory: 50Mi + cpuOverride: 40m + memoryOverride: 50Mi - it: deployment with metrics probes template: deployment.yaml set: diff --git a/charts/openmfp-crds/README.md b/charts/openmfp-crds/README.md index ccd281fea..d10a256c9 100644 --- a/charts/openmfp-crds/README.md +++ b/charts/openmfp-crds/README.md @@ -1,5 +1,28 @@ # openmfp-crds +A chart containing CRD Definitions for OpenMFP + +![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square) + +## Additional Information + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| oci://ghcr.io/openmfp/helm-charts | account-operator-crds | 0.1.5 | + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| account-operator-crds.enabled | bool | `true` | | +| extension-content-operator-crds.enabled | bool | `true` | | + +# openmfp-crds + ![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square) A chart containing CRD Definitions for OpenMFP diff --git a/charts/openmfp/README.md b/charts/openmfp/README.md index 63fef44fa..bde2a4fe3 100644 --- a/charts/openmfp/README.md +++ b/charts/openmfp/README.md @@ -1,5 +1,29 @@ # openmfp +The OpenMFP chart for Kubernetes + +![Version: 0.0.9](https://img.shields.io/badge/Version-0.0.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square) + +## Additional Information + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| oci://ghcr.io/openmfp/helm-charts | example-content | 0.110.4 | +| oci://ghcr.io/openmfp/helm-charts | portal | 0.69.119 | + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| components.example-content.enabled | bool | `false` | | +| components.portal.enabled | bool | `true` | | + +# openmfp + ![Version: 0.0.9](https://img.shields.io/badge/Version-0.0.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square) The OpenMFP chart for Kubernetes diff --git a/charts/portal/README.md b/charts/portal/README.md index b9d861d57..46461294c 100644 --- a/charts/portal/README.md +++ b/charts/portal/README.md @@ -1,5 +1,38 @@ # portal +Helm Chart for the openmfp Portal + +![Version: 0.69.121](https://img.shields.io/badge/Version-0.69.121-informational?style=flat-square) ![AppVersion: 0.198.0](https://img.shields.io/badge/AppVersion-0.198.0-informational?style=flat-square) + +## Additional Information + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| file://../common | common | 0.1.5 | + +## Values + +Default configuration parameters, which can be overriden either globally or on a chart level are documented in [common/README.md](../common/README.md). + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| deployment.maxSurge | int | `5` | | +| deployment.maxUnavailable | int | `0` | | +| externalSecrets.enabled | bool | `true` | | +| featureToggles | string | `"enableSessionAutoRefresh=true"` | | +| http.protocol | string | `"https"` | | +| image.name | string | `"ghcr.io/openmfp/portal"` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| imagePullSecret | string | `"github"` | | +| importContent | bool | `true` | | +| istio.enabled | bool | `true` | | +| port | int | `8080` | | +| validWebcomponentUrls | string | `".?"` | | + +# portal + ![Version: 0.69.121](https://img.shields.io/badge/Version-0.69.121-informational?style=flat-square) ![AppVersion: 0.198.0](https://img.shields.io/badge/AppVersion-0.198.0-informational?style=flat-square) Helm Chart for the openmfp Portal diff --git a/charts/portal/charts/common-0.1.5.tgz b/charts/portal/charts/common-0.1.5.tgz index 86be2d927..877845569 100644 Binary files a/charts/portal/charts/common-0.1.5.tgz and b/charts/portal/charts/common-0.1.5.tgz differ