Skip to content

Commit

Permalink
feat: 蓝盾网关支持IPV6 #7544
Browse files Browse the repository at this point in the history
  • Loading branch information
stubenhuang committed Sep 23, 2022
1 parent 02148b0 commit e08e2c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/artifactory/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ spec:
subPathExpr: bkci/jvm/$(POD_NAME)
volumes:
- name: storage
{{- if .Values.persistence.enabled }}
{{- if and .Values.persistence.enabled (eq .Values.config.bkCiArtifactoryRealm "local") }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "bkci.names.fullname" . }}-storage{{- end }}
{{- else }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,15 @@ class AuthConfiguration {
fun iamManagerService() = ManagerServiceImpl(apigwHttpClientServiceImpl(), iamConfiguration())

@Bean
@Primary
@ConditionalOnProperty(prefix = "auth", name = ["idProvider"], havingValue = "bk_login")
fun deptService(
redisOperation: RedisOperation,
objectMapper: ObjectMapper
) = AuthDeptServiceImpl(redisOperation, objectMapper)

@Bean
@Primary
@ConditionalOnProperty(prefix = "auth", name = ["idProvider"], havingValue = "bk_login_v3")
fun v3permissionService(
authHelper: AuthHelper,
Expand All @@ -125,6 +127,7 @@ class AuthConfiguration {
) = BkPermissionService(authHelper, policyService, iamConfiguration, iamCacheService)

@Bean
@Primary
@ConditionalOnProperty(prefix = "auth", name = ["idProvider"], havingValue = "bk_login_v3")
fun v3permissionProjectService(
permissionRoleService: PermissionRoleService,
Expand Down

0 comments on commit e08e2c9

Please sign in to comment.