diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ef39d81..3d06ba1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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/helm-oci-chart-releaser@v0.4.1 with: name: vaas diff --git a/README.md b/README.md index 59ba8b1..08edf86 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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``` diff --git a/charts/vaas/Chart.lock b/charts/vaas/Chart.lock index 5fc774f..b72ce6b 100644 --- a/charts/vaas/Chart.lock +++ b/charts/vaas/Chart.lock @@ -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" diff --git a/charts/vaas/Chart.yaml b/charts/vaas/Chart.yaml index 87c7c51..2979cfd 100644 --- a/charts/vaas/Chart.yaml +++ b/charts/vaas/Chart.yaml @@ -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 diff --git a/charts/vaas/values.yaml b/charts/vaas/values.yaml index 6e8b07d..82f6a52 100644 --- a/charts/vaas/values.yaml +++ b/charts/vaas/values.yaml @@ -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 @@ -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: @@ -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: diff --git a/helm.sh b/helm.sh index a869994..f69ae44 100755 --- a/helm.sh +++ b/helm.sh @@ -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