-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore (move): charts from private to public (#26)
* feat: add extension-manager-operator and crds charts with initial templates and values * major refactoring of all charts --------- Signed-off-by: Angel Kafazov <akafazov@cst-bg.net> Co-authored-by: Tobias Oetzel <tobias.oetzel@sap.com> Co-authored-by: tobias-oetzel <tobias.oetzel@gmail.com> Co-authored-by: Bastian Echterhölter <bastian.echterhoelter@sap.com>
- Loading branch information
1 parent
0a1a0ca
commit ed3c9b5
Showing
108 changed files
with
2,040 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build extension-manager-operator-crds Workflow | ||
on: | ||
push: | ||
paths: | ||
- 'charts/extension-manager-operator-crds/**' | ||
- '.github/workflows/extension-manager-operator-crds.yaml' | ||
|
||
jobs: | ||
pipeline: | ||
concurrency: | ||
group: extension-manager-operator-crds-${{ github.ref }} | ||
cancel-in-progress: true | ||
uses: openmfp/gha/.github/workflows/pipeline-chart.yml@main | ||
with: | ||
chartFolder: charts | ||
chartName: extension-manager-operator-crds | ||
additionalTestFilesCommand: '' | ||
chartRepos: 'bitnami=https://charts.bitnami.com/bitnami,openfga=https://openfga.github.io/helm-charts' | ||
secrets: inherit | ||
|
||
updateVersionFile: | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
needs: [pipeline] | ||
uses: openmfp/gha/.github/workflows/job-update-version-file.yml@main | ||
secrets: inherit | ||
with: | ||
componentVersionKey: "extension-manager-operator-crds" | ||
version: ${{ needs.pipeline.outputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build extension-manager-operator Workflow | ||
on: | ||
push: | ||
paths: | ||
- 'charts/extension-manager-operator/**' | ||
- '.github/workflows/extension-manager-operator.yaml' | ||
|
||
jobs: | ||
pipeline: | ||
concurrency: | ||
group: extension-manager-operator-${{ github.ref }} | ||
cancel-in-progress: true | ||
uses: openmfp/gha/.github/workflows/pipeline-chart.yml@main | ||
with: | ||
chartFolder: charts | ||
chartName: extension-manager-operator | ||
additionalTestFilesCommand: '' | ||
chartRepos: 'bitnami=https://charts.bitnami.com/bitnami,openfga=https://openfga.github.io/helm-charts' | ||
secrets: inherit | ||
|
||
updateVersionFile: | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
needs: [pipeline] | ||
uses: openmfp/gha/.github/workflows/job-update-version-file.yml@main | ||
secrets: inherit | ||
with: | ||
componentVersionKey: "extension-manager-operator" | ||
version: ${{ needs.pipeline.outputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.idea | ||
.vscode/settings.json | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
charts/common/test-chart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# helm-charts | ||
|
||
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. | ||
|
||
## Github Actions | ||
Each chart is automatically tested, packaged and published to github repository. Workflows are located in the [.github/workflows](.github/workflows) folder. | ||
|
||
## OWASP vulnerability scanning | ||
Kube-linter and kube-score can be run locally with `task vulnerability`. PR changes are also scanned on github and found vulnerability are visible under the Security project section on Github. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{ template "chart.header" . }} | ||
{{ template "chart.description" . }} | ||
|
||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} | ||
|
||
## Configuration | ||
|
||
The chart supports the following configuration parameters in the table below. Additionally, default configuration parameters documented in [common/README.md](../common/README.md) are not explicitely listed in the table but are also supported. | ||
|
||
{{ 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 "chart.requirementsSection" . }} | ||
|
||
{{ template "helm-docs.versionFooter" . }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,6 @@ description: A Helm chart for Kubernetes | |
|
||
type: application | ||
|
||
version: 0.1.5 | ||
version: 0.1.6 | ||
|
||
appVersion: "1.16.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# account-operator-crds | ||
|
||
   | ||
|
||
A Helm chart for Kubernetes | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| kcp.enabled | bool | `false` | Enable KCP | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
kcp: | ||
# -- Enable KCP | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
dependencies: | ||
- name: account-operator-crds | ||
repository: file://../account-operator-crds | ||
version: 0.1.5 | ||
version: 0.1.6 | ||
- name: common | ||
repository: file://../common | ||
version: 0.1.4 | ||
digest: sha256:9d2466bb6f196f2355a55ff621f6017cee086f9600280b009e55249ab6a6335f | ||
generated: "2024-11-21T17:36:43.666194+01:00" | ||
version: 0.1.5 | ||
digest: sha256:5dcb2935c71c2e917170ef3b54c5ea586ab30269a5ec960353bfcbb362c073e1 | ||
generated: "2024-11-27T20:12:23.434477831+02:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# account-operator | ||
|
||
   | ||
|
||
A Helm chart for Kubernetes | ||
|
||
## Requirements | ||
|
||
| Repository | Name | Version | | ||
|------------|------|---------| | ||
| file://../account-operator-crds | account-operator-crds | 0.1.6 | | ||
| file://../common | common | 0.1.5 | | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| crds.enabled | bool | `true` | Enable CRDs | | ||
| deployment.specTemplate.annotations | object | `{}` | The annotations for the deployment | | ||
| deployment.specTemplate.labels | object | `{}` | The labels for the deployment | | ||
| image.name | string | `"ghcr.io/openmfp/account-operator"` | The image repository | | ||
| image.tag | string | `"latest"` | The image tag | | ||
| kcp | object | `{"enabled":false,"virtualWorkspaceUrl":""}` | The KCP configuration | | ||
| kcp.enabled | bool | `false` | Enable KCP | | ||
| kcp.virtualWorkspaceUrl | string | `""` | The URL for the virtual workspace | | ||
| kubeconfigSecret | string | `""` | The secret for kubeconfig | | ||
| logLevel | string | `"warn"` | The log level | | ||
| security.mountServiceAccountToken | bool | `false` | Mount the service account token | | ||
| subroutines.extension.enabled | bool | `true` | Enable extension subroutines | | ||
| subroutines.extensionReady.enabled | bool | `true` | Enable extension ready subroutines | | ||
| subroutines.fga.creatorRelation | string | `"owner"` | The creator relation for FGA | | ||
| subroutines.fga.enabled | bool | `true` | Enable FGA subroutines | | ||
| subroutines.fga.grpcAddr | string | `""` | The gRPC address for FGA | | ||
| subroutines.fga.objectType | string | `"account"` | The object type for FGA | | ||
| subroutines.fga.parentRelation | string | `"parent"` | The parent relation for FGA | | ||
| subroutines.fga.rootNamespace | string | `"openmfp-root"` | The root namespace for FGA | | ||
| subroutines.namespace.enabled | bool | `true` | Enable namespace subroutines | | ||
| webhooks.certDir | string | `"/certs"` | The directory for webhook certificates | | ||
| webhooks.enabled | bool | `false` | Enable webhooks | | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.