Repository navigation
Replies: 3 comments 4 replies
|
Hi @m33li5 and thanks for your interest!
minikube stop && minikube delete && minikube start --driver=docker --memory 8192 --cpus 3
kubectl apply -f https://raw.githubusercontent.com/keycloak/keycloak-k8s-resources/18.0.0/kubernetes/keycloaks.k8s.keycloak.org-v1.yml
kubectl apply -f https://raw.githubusercontent.com/keycloak/keycloak-k8s-resources/18.0.0/kubernetes/keycloakrealmimports.k8s.keycloak.org-v1.yml
kubectl apply -f https://raw.githubusercontent.com/keycloak/keycloak-k8s-resources/18.0.0/kubernetes/kubernetes.yml
apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
name: example-kc
spec:
instances: 1
hostname: INSECURE-DISABLE
tlsSecret: INSECURE-DISABLE
image: keycloak:123
kubectl get deployments example-kc -o yaml | yq '.spec.template.spec.containers[0].args'
$ - start
apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
name: example-kc
spec:
instances: 1
hostname: INSECURE-DISABLE
tlsSecret: INSECURE-DISABLE
unsupported:
podTemplate:
spec:
containers:
- args:
- start
kubectl get deployments example-kc -o yaml | yq '.spec.template.spec.containers[0].args'
$ - startWould you mind to doublecheck those proposed approaches? |
2 replies
|
Hey people, When I just want to define only 1 override under Example: and my operator: What should I do to define both volumemount and args? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
By default the operator sets the following args for a keycloak deployment:
But I build my own custom kc container and don't need these args and would like to be able to change them.
I tried using the
unsupported:section (docs) to set args to[]ornull:But this did not work. Any ideas on how to achieve this?
All reactions