Skip to content

Commit

Permalink
adding basic keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Mar 8, 2024
1 parent e318407 commit 61649b5
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
39 changes: 39 additions & 0 deletions tests/e2e/keycloak/00-assert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
timeout: 360
---
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNKeycloak
metadata:
name: keycloak-e2e
finalizers:
- finalizer.apiextensions.crossplane.io
spec:
compositeDeletePolicy: Background
compositionRef:
name: vshnkeycloak.vshn.appcat.vshn.io
compositionUpdatePolicy: Automatic
parameters:
backup: {}
service:
postgreSQLParameters:
backup:
deletionProtection: false
deletionRetention: 7
retention: 6
instances: 1
relativePath: /
serviceLevel: besteffort
version: 23.0.5-202402021353-44-af6cea11
size:
plan: standard-2
tls:
authClients: true
enabled: true
writeConnectionSecretToRef:
name: keycloak-e2e
status:
conditions:
- status: "True"
- status: "True"

12 changes: 12 additions & 0 deletions tests/e2e/keycloak/00-install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNKeycloak
metadata:
name: keycloak-e2e
spec:
parameters:
service:
postgreSQLParameters:
backup:
deletionProtection: false
writeConnectionSecretToRef:
name: keycloak-e2e
6 changes: 6 additions & 0 deletions tests/e2e/keycloak/02-delete.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kuttl.dev/v1beta1
kind: TestStep
delete:
- apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNKeycloak
name: keycloak-e2e

0 comments on commit 61649b5

Please sign in to comment.