Skip to content

Commit

Permalink
Document updated secrets format in README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Hofmann <[email protected]>
  • Loading branch information
m-hofmann-a9s authored and Breee committed Oct 24, 2024
1 parent c5a353c commit 12dcc11
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,26 @@ stringData:

The secret `keycloak-credentials` contains the keycloak API server URL, credentials, and other configuration details that are required to connect to the keycloak API server. **It supports the same fields as the [terraform provider configuration](https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs#argument-reference)**

As an alternative to using the embedded JSON format shown above, you can also place settings in a plain Kubernetes secret like this:

```yaml
apiVersion: v1
kind: Secret
metadata:
name: keycloak-credentials
namespace: crossplane-system
labels:
type: provider-credentials
type: Opaque
stringData:
client_id: "admin-cli"
username: "admin"
password: "admin"
url: "https://keycloak.example.com"
base_path: "/auth"
realm: "master"
```


### Custom Resource Definitions

Expand Down

0 comments on commit 12dcc11

Please sign in to comment.