Skip to content

Commit

Permalink
feat: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Jun 7, 2024
1 parent adea6bf commit ab0ec9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operator/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ export default class MyOperator extends Operator {
case ResourceEventType.Added:
case ResourceEventType.Modified: {
try {
const secretData = (await k8sApi.readNamespacedSecret('keycloak-admin', 'otomi-keycloak-operator')).body.data as any
const secretData = (await k8sApi.readNamespacedSecret('keycloak-admin', 'otomi-keycloak-operator')).body
.data as any
env.KEYCLOAK_ADMIN_PASSWORD = Buffer.from(secretData.password, 'base64').toString()
env.KEYCLOAK_ADMIN = Buffer.from(secretData.username, 'base64').toString()
console.log('KEYCLOAK_ADMIN_PASSWORD', env.KEYCLOAK_ADMIN_PASSWORD)
Expand Down

0 comments on commit ab0ec9d

Please sign in to comment.