<p>I installed Keycloak using <a href="https://artifacthub.io/packages/olm/community-operators/keycloak-operator" rel="nofollow noreferrer">Operator</a> (version 12.0.1). It's using the repository <a href="https://github.com/keycloak/keycloak-operator" rel="nofollow noreferrer">github repository</a> Everything worked seamlessly. A keycloak instance has been launched and I could log in using admin credentials. I could see a realm, clients, users, etc working as expected.</p>
<p>But I do have a custom theme that I want to use it. For that, I make the following changes in <strong>my-realm.yaml</strong>.</p>
<pre><code>apiVersion: keycloak.org/v1alpha1
kind: Keycloak
metadata:
  name: my-keycloak
  labels:
    app: my-keycloak
spec:
  instances: 1
  extensions:
    - https://github.com/aerogear/keycloak-metrics-spi/releases/download/1.0.4/keycloak-metrics-spi-1.0.4.jar
  externalAccess:
    enabled: False
  podDisruptionBudget:
    enabled: True
---
apiVersion: keycloak.org/v1alpha1
kind: KeycloakRealm
metadata:
  name: my-realm
  labels:
    app: my-realm
spec:
  realm:
    id: &quot;my&quot;
    realm: &quot;my&quot;
    enabled: True
    registrationEmailAsUsername: True
    accountTheme: &quot;account-theme&quot;       // THEMES
    adminTheme: &quot;admin-theme&quot;           // THEMES
    emailTheme: &quot;email-theme&quot;           // THEMES
    loginTheme: &quot;login-theme&quot;           // THEMES
    users:
      - username: &quot;aftab@x.com&quot;
        firstName: &quot;Service&quot;
        lastName: &quot;Account&quot;
  instanceSelector:
    matchLabels:
      app: my-keycloak
</code></pre>
<p>But, I didn't see any of the themes in my realms/my-realm/theme-settings. I can see only the default theme in the select box (i.e. keycloak, base). I am expecting <code>account-theme</code>, <code>admin-theme</code>, <code>email-theme</code>, <code>login-theme</code> in their respective select boxes.</p>
<p>Am I missing something here?</p>

<blockquote>
<p>But, I didn't see any of the themes in my
realms/my-realm/theme-settings. I can see only the default theme in
the select box (<em>i.e.</em> keycloak, base). I am expecting account-theme,
admin-theme, email-theme, login-theme in their respective select
boxes.</p>
</blockquote>
<p>The problem is/was that -- until <a href="https://github.com/keycloak/keycloak-operator/commit/f2d0370290d6abe91724b2536748aa6b1245d1e1" rel="nofollow noreferrer">yesterday</a> the 26th of January of 2021, commit f2d0370290d6abe91724b2536748aa6b1245d1e1 (<a href="https://github.com/keycloak/keycloak-operator/pull/284" rel="nofollow noreferrer">pull request #284</a>) -- by default the Keycloak Operator did not recognize the Theme-related fields (<em>i.e.,</em> <code>accountTheme</code>, <code>adminTheme</code>, <code>emailTheme</code>, <code>loginTheme</code>).</p>
<p>This feature was not deployed on the current latest release (12.0.2), however it is available of master. So you can go from there.</p>
