Skip to content

Commit

Permalink
test: harbor operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ferruhcihan committed Jun 13, 2024
1 parent 14239e8 commit 03c4171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/harbor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const systemRobot: any = {
const robotPrefix = 'otomi-'
const harborOperator = {
harborBaseUrl: 'http://harbor-core.harbor',
harborBaseRepoUrl: 'harbor.172.233.37.26.nip.io',
harborBaseRepoUrl: '',
harborUser: 'admin',
harborPassword: 'welcomeotomi',
teamIds: [],
Expand Down Expand Up @@ -143,7 +143,7 @@ const secretsAndConfigmapsCallback = async (e: any) => {
harborOperator.oidcClientSecret = Buffer.from(data.oidcClientSecret, 'base64').toString()
} else if (object.kind === 'ConfigMap' && metadata.name === 'harbor-operator-cm') {
console.log('ConfigMap:', metadata.name)
harborOperator.harborBaseUrl = data.harborBaseUrl
// harborOperator.harborBaseUrl = data.harborBaseUrl
harborOperator.harborBaseRepoUrl = data.harborBaseRepoUrl
harborOperator.teamIds = JSON.parse(data.teamIds)
harborOperator.oidcAutoOnboard = data.oidcAutoOnboard
Expand Down

0 comments on commit 03c4171

Please sign in to comment.