AlexRogalskiy/java-patterns

View on GitHub
charts/templates/tests/tests.yaml

Summary

Maintainability
Test Coverage
{{- $fullName := include "backend-java-patterns.fullname" . -}}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ $fullName }}-tests
data:
  run.sh: |-
    echo ">>> Test command >>>"
    @test "Testing DataBase Host is accessible" {
      mysql -h {{ $fullName }} -uroot -p$BASE_PASSWORD -e 'show databases;'
    }