Skip to content

Commit

Permalink
keycloak: fix helm command (chainguard-images#2542)
Browse files Browse the repository at this point in the history
Signed-off-by: Furkan Türkal <[email protected]>
  • Loading branch information
Dentrax authored Apr 21, 2024
1 parent 47bd8cd commit 994a4e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions images/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ To launch a development instance of keycloak in k8s using the following

```bash
helm install keycloak oci://registry-1.docker.io/bitnamicharts/keycloak \
--set image.repository=cgr.dev/chainguard/keycloak \
--set image.registry=cgr.dev \
--set image.repository=chainguard/keycloak \
--set image.tag=latest \
--set "args[0]=start-dev"
--set "args={start-dev}"
```

Refer to the [keycloak](https://github.com/keycloak/keycloak/blob/main/docs/guides/server/containers.adoc)
Expand Down
10 changes: 9 additions & 1 deletion images/keycloak/config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,15 @@ output "config" {
gid = module.accts.block.run-as
permissions = 511 // 0o777 (HCL explicitly does not support octal literals)
recursive = true
}]
}, {
path = "/usr/share/java/keycloak/lib/quarkus"
type = "directory"
uid = module.accts.block.run-as
gid = module.accts.block.run-as
permissions = 511 // 0o777 (HCL explicitly does not support octal literals)
recursive = true
}
]
environment = var.environment
entrypoint = {
command = "/usr/bin/kc.sh"
Expand Down

0 comments on commit 994a4e2

Please sign in to comment.