Skip to content

Commit

Permalink
Merge pull request #6 from GDATASoftwareAG/update-versions
Browse files Browse the repository at this point in the history
Update Vaas dependencies and values.yaml
  • Loading branch information
lennartdohmann authored Feb 12, 2024
2 parents 0e572fe + 5b31306 commit 57f99f4
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
run: ct lint --config .github/chart-testing-config.yaml --validate-maintainers=false --charts charts/vaas

- name: Push chart
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: appany/[email protected]
with:
name: vaas
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ gdscan:
2. Install Verdict-as-a-Service:
```bash
helm install vaas oci://ghcr.io/gdatasoftwareag/charts/vaas -f values.yaml -n vaas
helm install vaas oci://ghcr.io/gdatasoftwareag/charts/vaas -f values.yaml -n vaas --create-namespace
```

### Updating Verdict-as-a-Service
Expand All @@ -38,12 +38,19 @@ helm upgrade vaas oci://ghcr.io/gdatasoftwareag/charts/vaas -f values.yaml -n va

## Getting started

Tested prerequisites:

* Ubuntu 22.04
* Minikube 1.32.0
* Java 17
* Vaas Java SDK 6.1.0

### Deploy Verdict-as-a-Service in a Minikube test-environment

* Start Minikube:

```
minikube start --cpus="6" --memory="10g" --addons ingress
minikube start --cpus="6" --memory="8g" --addons ingress
```

* Check your Minikube IP: ```minikube ip```
Expand Down
6 changes: 3 additions & 3 deletions charts/vaas/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ dependencies:
version: 1.4.5
- name: mini-identity-provider
repository: oci://ghcr.io/gdatasoftwareag
version: 0.1.12
digest: sha256:3a41433c3889a01631545c8346e9bb60194d0c571a31e2b7913d19a4ba03f3a5
generated: "2024-01-16T09:02:43.648745472+01:00"
version: 0.1.17
digest: sha256:e4f283b831d4726932df1ba32ed10a746faa7aa89fd7345c3f952b7563e856bd
generated: "2024-02-12T09:11:31.341370564+01:00"
2 changes: 1 addition & 1 deletion charts/vaas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ dependencies:
condition: gdscan.enabled
repository: https://gdatasoftwareag.github.io/gdscan/
- name: mini-identity-provider
version: 0.1.16
version: 0.1.17
condition: mini-identity-provider.enabled
repository: oci://ghcr.io/gdatasoftwareag
6 changes: 3 additions & 3 deletions charts/vaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mini-identity-provider:
image:
repository: ghcr.io/gdatasoftwareag/vaas/mini-identity-provider
pullPolicy: Always
tag: 0.1.4
tag: 0.1.7

service:
type: ClusterIP
Expand Down Expand Up @@ -146,7 +146,7 @@ gdscan:
image:
repository: ghcr.io/gdatasoftwareag/vaas/scanserver
pullPolicy: Always
tag: 1.9.5
tag: 1.9.8
containerSecurityContext:
enabled: false
resources:
Expand All @@ -159,7 +159,7 @@ gdscan:
image:
repository: ghcr.io/gdatasoftwareag/vaas/scanner
pullPolicy: Always
tag: 1.9.5
tag: 1.9.8
containerSecurityContext:
enabled: false
resources:
Expand Down
5 changes: 4 additions & 1 deletion helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ fi

VALUES_FILE=$1

# Copies the dockerconfigjson from the values file to the local docker config
# grep -A2 "dockerconfigjson:" $VALUES_FILE | awk '{print $2}' | tr -d '"' | base64 --decode >> ~/.docker/config.json

helm dep up charts/vaas
helm lint charts/vaas -f $VALUES_FILE
helm template charts/vaas -f $VALUES_FILE --debug
helm template charts/vaas -f $VALUES_FILE
helm uninstall vaas -n vaas
helm install vaas charts/vaas -f $VALUES_FILE -n vaas --create-namespace

0 comments on commit 57f99f4

Please sign in to comment.