Skip to content

Commit

Permalink
feat: even more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Dec 8, 2023
1 parent 9d76bbf commit 6d6812d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/operator/gitea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ export default class MyOperator extends Operator {
console.debug('Starting initializing')
// Watch all namespaces
await this.watchResource('', 'v1', 'namespaces', async (e) => {
console.debug(e)
const { object } = e
console.debug(object)
const { metadata } = object
console.debug(metadata)
// Check if namespace starts with prefix 'team-'
if (metadata && !metadata.name?.startsWith('team-')) return
try {
Expand Down

0 comments on commit 6d6812d

Please sign in to comment.