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

Update Vaas dependencies and values.yaml #6

Merged
merged 2 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
Loading