Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable helm chart #22

Merged
merged 27 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
335a9bb
fix: remove lint issue
evegufy Mar 15, 2024
a794637
chore: change credentialexpiry to camelcase
evegufy Mar 15, 2024
f5f1766
fix: solve templating issues
evegufy Mar 15, 2024
50cc9e1
chore: change setup of cronjobs
evegufy Mar 16, 2024
4648565
chore: change name setup of job resources
evegufy Mar 16, 2024
b378667
chore: add line breaks
evegufy Mar 16, 2024
eea6a71
chore: move placeholder value into resources
evegufy Mar 16, 2024
de8f0b2
chore: change to unique templates for db subchart
evegufy Mar 16, 2024
ba79ae3
chore: change secret setup
evegufy Mar 16, 2024
a4fb88a
chore: move passwords from db dependency to according section
evegufy Mar 16, 2024
e5be34a
chore: remove upgrade env file
evegufy Mar 16, 2024
fbfac8a
chore: change centralidp setup
evegufy Mar 16, 2024
3b31a79
chore: rearrange health checks
evegufy Mar 16, 2024
7043478
chore: rearrange values file
evegufy Mar 16, 2024
aa19696
chore: change ingress to trg-5.04
evegufy Mar 16, 2024
ff834ac
chore: adjust env files for centralidp
evegufy Mar 16, 2024
91029ed
chore: fix container name and namespace
evegufy Mar 16, 2024
e8dfdcb
chore: fix duplicated heathchecks
evegufy Mar 18, 2024
49541c9
chore: change image tag retrieval
evegufy Mar 18, 2024
b0dc98b
chore: clean up
evegufy Mar 18, 2024
6275eeb
chore: change version
evegufy Mar 18, 2024
4c0257f
chore(db-dependency): change image tag to get latest minor updates
evegufy Mar 18, 2024
8505f09
chore: set resource limits
evegufy Mar 18, 2024
c6b8d2c
chore: update readme on chart level
evegufy Mar 18, 2024
1ee99b2
chore: update readme
evegufy Mar 18, 2024
a26826b
chore: fix resource requests issues
evegufy Mar 18, 2024
5429b99
chore: revert migration name change
evegufy Mar 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading