Skip to content

Commit

Permalink
chore: enable helm chart (#22)
Browse files Browse the repository at this point in the history
- fix: remove lint issue
- fix: solve templating issues
- chore: change setup of cronjobs: remove hooks
- chore: change name setup of job resources
- chore: add line breaks
- chore: move placeholder value into resources
- chore: change to unique templates for db subchart
- chore: change secret setup
- chore: move passwords from db dependency to according section
- chore: remove upgrade env file
- chore: change centralidp setup
- chore: rearrange health checks
- chore: rearrange values file
- chore: change ingress to trg-5.04
- chore: fix container name and namespace
- chore: change image tag retrieval
- chore: change version
- chore(db-dependency): change image tag to get latest minor updates
- chore: set resource limits
- chore: update readme files
- chore: change credentialexpiry to camelcase
  • Loading branch information
evegufy authored Mar 18, 2024
1 parent 3396177 commit 9e147e3
Show file tree
Hide file tree
Showing 24 changed files with 509 additions and 466 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/chart-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --validate-maintainers=false --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}

- name: Run service chart-testing (install)
run: ct install --charts charts/ssi-credential-issuer --config charts/chart-testing-config.yaml --helm-extra-set-args "--set=issuer.image=kind-registry:5000/credential-issuer-service:testing --set=issuermigrations.image=kind-registry:5000/credential-issuer-migrations:testing --set=processesworker.image=kind-registry:5000/credential-issuer-processes-worker --set=credentialexpiry.image=kind-registry:5000/credential-expiry-app"
- name: Run chart-testing (install)
run: ct install --charts charts/ssi-credential-issuer --config charts/chart-testing-config.yaml --helm-extra-set-args "--set=issuer.image.name=kind-registry:5000/credential-issuer-service --set=issuer.image.tag=testing --set=issuermigrations.image.name=kind-registry:5000/credential-issuer-migrations --set=issuermigrations.image.tag=testing --set=processesworker.image.name=kind-registry:5000/credential-issuer-processes-worker --set=processesworker.image.tag=testing --set=credentialExpiry.image.name=kind-registry:5000/credential-expiry-app --set=credentialExpiry.image.tag=testing"
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'

# TODO: re-add the step after the first version release
Expand All @@ -133,5 +133,5 @@ jobs:
# helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
# helm install ssi-credential-issuer tractusx-dev/ssi-credential-issuer --version ${{ github.event.inputs.upgrade_from || 'tbd' }} --namespace upgrade --create-namespace
# helm dependency update charts/ssi-credential-issuer
# helm upgrade ssi-credential-issuer charts/ssi-credential-issuer --set issuer.image=kind-registry:5000/service:testing --set=issuermigrations.image=kind-registry:5000/migrations:testing --namespace upgrade
# helm upgrade ssi-credential-issuer charts/ssi-credential-issuer --set issuer.image.name=kind-registry:5000/service:testing --set=issuermigrations.image.name=kind-registry:5000/migrations:testing --namespace upgrade
# if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'
2 changes: 1 addition & 1 deletion .github/workflows/owasp-zap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
helm dependency build
- name: Install the chart on KinD cluster
run: helm install testing -n apps --create-namespace --wait --set issuer.image=kind-registry:5000/credential-issuer-service:testing --set=issuermigrations.image=kind-registry:5000/credential-issuer-migrations:testing --set=processesworker.image=kind-registry:5000/credential-issuer-processes-worker:testing --set=credentialexpiry.image=kind-registry:5000/credential-expiry-app:testing --set=issuer.swaggerEnabled=true charts/ssi-credential-issuer
run: helm install testing -n apps --create-namespace --wait --set issuer.image=kind-registry:5000/credential-issuer-service:testing --set=issuermigrations.image=kind-registry:5000/credential-issuer-migrations:testing --set=processesworker.image=kind-registry:5000/credential-issuer-processes-worker:testing --set=credentialExpiry.image=kind-registry:5000/credential-expiry-app:testing --set=issuer.swaggerEnabled=true charts/ssi-credential-issuer

- name: Configure port forward to app in KinD
run: |
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository contains the backend code for the SSI Credential Issuer written

## How to build and run

Install [the .NET 8.0 SDK](https://www.microsoft.com/net/download).
Install the [.NET 7.0 SDK](https://www.microsoft.com/net/download).

Run the following command from the CLI:

Expand All @@ -19,6 +19,17 @@ Run the following command from the CLI in the directory of the service you want
dotnet run
```

## Notice for Docker image

This application provides container images for demonstration purposes.

See Docker notice files for more information:

- [credential-issuer-service](./docker//notice-credential-issuer-service.md)
- [credential-issuer-processes-worker](./docker/notice-credential-issuer-processes-worker.md)
- [notice-credential-expiry-app](./docker/notice-credential-expiry-app.md)
- [credential-issuer-migrations](./docker/notice-credential-issuer-migrations.md)

## License

Distributed under the Apache 2.0 License.
Expand Down
4 changes: 2 additions & 2 deletions charts/ssi-credential-issuer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
apiVersion: v2
name: ssi-credential-issuer
type: application
version: 0.1.0-rc.1
appVersion: 0.1.0-rc.1
version: 1.0.0-rc.1
appVersion: 1.0.0-rc.1
description: Helm chart for Catena-X SSI Credential Issuer
home: https://github.com/eclipse-tractusx/ssi-credential-issuer
dependencies:
Expand Down
Loading

0 comments on commit 9e147e3

Please sign in to comment.