Skip to content

Commit

Permalink
fix: change names to watch
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Jul 8, 2024
1 parent b190799 commit 19595d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export default class MyOperator extends Operator {
async (e) => {
const { object } = e
const { metadata, data } = object as k8s.V1Secret
if (metadata && metadata.name !== 'keycloak-admin') return
if (metadata && metadata.name !== 'apl-keycloak-operator-secret') return
switch (e.type) {
case ResourceEventType.Added:
case ResourceEventType.Modified: {
Expand Down Expand Up @@ -235,7 +235,7 @@ export default class MyOperator extends Operator {
async (e) => {
const { object } = e
const { metadata, data } = object as k8s.V1ConfigMap
if (metadata && metadata.name !== 'keycloak-cm') return
if (metadata && metadata.name !== 'apl-keycloak-operator-cm') return
switch (e.type) {
case ResourceEventType.Added:
case ResourceEventType.Modified: {
Expand Down

0 comments on commit 19595d1

Please sign in to comment.