Skip to content

Commit

Permalink
fix: drone namespace validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Morriz committed Jul 3, 2022
1 parent 8f81090 commit 89d16c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tasks/gitea/gitea-drone-oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import cookie from 'cookie'
import { URLSearchParams } from 'url'
import { createSecret, getSecret, k8s } from '../../k8s'
import { doApiCall } from '../../utils'
import { cleanEnv, DRONE_URL, GITEA_PASSWORD, GITEA_URL, OTOMI_VALUES } from '../../validators'
import { cleanEnv, DRONE_NAMESPACE, DRONE_URL, GITEA_PASSWORD, GITEA_URL, OTOMI_VALUES } from '../../validators'
import { username } from '../common'
import { GiteaDroneError } from './common'

const env = cleanEnv({
GITEA_PASSWORD,
GITEA_URL,
DRONE_NAMESPACE,
DRONE_URL,
OTOMI_VALUES,
})
Expand Down

0 comments on commit 89d16c2

Please sign in to comment.