Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
usma
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
market
usma
Commits
3385d4e8
Commit
3385d4e8
authored
Jun 27, 2025
by
严国华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
山西信息院云时代apaas政务云生产环境统一用户charts(amd) init
parent
6565f937
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
62 additions
and
165 deletions
+62
-165
step.yaml
step.yaml
+1
-1
templates/configmap.yaml
templates/configmap.yaml
+1
-1
templates/file-upload/ingressroute.yaml
templates/file-upload/ingressroute.yaml
+4
-6
templates/file-upload/service.yaml
templates/file-upload/service.yaml
+2
-1
templates/ingresshost.yaml
templates/ingresshost.yaml
+1
-1
templates/sms/configmap.yaml
templates/sms/configmap.yaml
+0
-20
templates/sms/deployment.yaml
templates/sms/deployment.yaml
+0
-44
templates/sms/ingressroute.yaml
templates/sms/ingressroute.yaml
+0
-17
templates/sms/service.yaml
templates/sms/service.yaml
+0
-19
templates/usma-api/ingressroute.yaml
templates/usma-api/ingressroute.yaml
+4
-6
templates/usma-api/service.yaml
templates/usma-api/service.yaml
+3
-1
templates/usma-login/api/ingressroute.yaml
templates/usma-login/api/ingressroute.yaml
+5
-6
templates/usma-login/api/service.yaml
templates/usma-login/api/service.yaml
+3
-1
templates/usma-login/ui/ingressroute.yaml
templates/usma-login/ui/ingressroute.yaml
+5
-6
templates/usma-login/ui/service.yaml
templates/usma-login/ui/service.yaml
+2
-1
templates/usma-ui.yaml
templates/usma-ui.yaml
+2
-2
templates/usma-ui/ingressroute.yaml
templates/usma-ui/ingressroute.yaml
+5
-6
templates/usma-ui/service.yaml
templates/usma-ui/service.yaml
+3
-0
values.yaml
values.yaml
+21
-26
No files found.
step.yaml
View file @
3385d4e8
...
@@ -2,4 +2,4 @@ configInfo:
...
@@ -2,4 +2,4 @@ configInfo:
-
name
:
global.host
-
name
:
global.host
text
:
地址
text
:
地址
type
:
text
type
:
text
value
:
"
bg-usma.
ysdpaa
s.local"
value
:
"
bg-usma.
zwyyc
s.local"
templates/configmap.yaml
View file @
3385d4e8
...
@@ -9,5 +9,5 @@ data:
...
@@ -9,5 +9,5 @@ data:
TOKEN_KEY
:
usmaToken
TOKEN_KEY
:
usmaToken
# GIN_MODE: "release"
# GIN_MODE: "release"
LOG_DIR_PREFIX
:
"
/app/log"
LOG_DIR_PREFIX
:
"
/app/log"
USMA_HOST
:
"
http
s
://{{
.Values.global.host
}}"
USMA_HOST
:
"
http://{{
.Values.global.host
}}"
{{
toYaml .Values.usma.conf | indent 2
}}
{{
toYaml .Values.usma.conf | indent 2
}}
templates/file-upload/ingressroute.yaml
View file @
3385d4e8
...
@@ -2,16 +2,14 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
...
@@ -2,16 +2,14 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
kind
:
IngressRoute
kind
:
IngressRoute
metadata
:
metadata
:
name
:
file-upload
name
:
file-upload
namespace
:
{{
.Release.Namespace
}}
namespace
:
{{
.Release.Namespace
}}
spec
:
spec
:
entryPoints
:
entryPoints
:
-
web
secure
-
web
routes
:
routes
:
-
kind
:
Rule
-
kind
:
Rule
match
:
Host(`
{{ .Values.global.host }}
`) && PathPrefix(`/bgfile`)
match
:
Host(`
bg-usma.zwyycs.local
`) && PathPrefix(`/bgfile`)
services
:
services
:
-
kind
:
Service
-
kind
:
Service
name
:
file-upload
name
:
file-upload
port
:
80
port
:
80
tls
:
certResolver
:
default
templates/file-upload/service.yaml
View file @
3385d4e8
...
@@ -13,7 +13,8 @@ spec:
...
@@ -13,7 +13,8 @@ spec:
port
:
80
port
:
80
protocol
:
TCP
protocol
:
TCP
targetPort
:
80
targetPort
:
80
nodePort
:
30094
selector
:
selector
:
app
:
file-upload
app
:
file-upload
type
:
ClusterIP
type
:
NodePort
sessionAffinity
:
None
sessionAffinity
:
None
templates/ingresshost.yaml
View file @
3385d4e8
...
@@ -4,5 +4,5 @@ metadata:
...
@@ -4,5 +4,5 @@ metadata:
name
:
usma
name
:
usma
namespace
:
{{
.Release.Namespace
}}
namespace
:
{{
.Release.Namespace
}}
spec
:
spec
:
host
:
{{
.Values.global.host
}}
host
:
bg-usma.zwyycs.local
templates/sms/configmap.yaml
deleted
100644 → 0
View file @
6565f937
kind
:
ConfigMap
apiVersion
:
v1
metadata
:
name
:
sms-verify-api
namespace
:
{{
.Release.Namespace
}}
data
:
GIN_MODE
:
"
debug"
REDIS_URL
:
{{
.Values.usma.conf.REDIS_URL
}}
REDIS_PASSWORD
:
{{
.Values.usma.conf.REDIS_PASSWORD
}}
ACCESS_KEY_ID
:
"
LTAI4GBcVubRjzX7ABPcHnhB"
ACCESS_SECRET
:
"
dYE2dtABFOqYtK1ijcrits0yedHkw7"
TPL_CODE_LOGIN
:
"
SMS_212925130"
TPL_CODE_PWD
:
"
SMS_212925127"
TPL_CODE_REGISTRY
:
"
SMS_212925128"
TPL_CODE_LOGIN_ABNORMAL
:
"
SMS_212925129"
TPL_CODE_ID_CARD
:
"
SMS_460741011"
TPL_CODE_MOBILE
:
"
SMS_212925126"
TPL_CODE_SYSTEM
:
"
SMS_229477217"
SIGN_NAME
:
"
比格数据"
SMS_MODE
:
"
aliYun"
templates/sms/deployment.yaml
deleted
100644 → 0
View file @
6565f937
kind
:
Deployment
apiVersion
:
apps/v1
metadata
:
name
:
sms-verify-api
namespace
:
{{
.Release.Namespace
}}
labels
:
{{
include "sms-verify-api.labels" . | indent 4
}}
app
:
sms-verify-api
versoin
:
{{
.Values.smsVerifyApi.image.tag
}}
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
sms-verify-api
template
:
metadata
:
labels
:
{{
include "sms-verify-api.labels" . | indent 8
}}
app
:
sms-verify-api
version
:
{{
.Values.smsVerifyApi.image.tag
}}
spec
:
volumes
:
-
name
:
localtime
hostPath
:
path
:
/etc/localtime
type
:
'
'
containers
:
-
name
:
sms-verify-api
{{
- if contains "/" .Values.smsVerifyApi.image.repository
}}
image
:
"
{{
.Values.smsVerifyApi.image.repository
}}:{{
.Values.smsVerifyApi.image.tag
}}{{
template
"beagle.imageArch" . }}"
{{
- else
}}
image
:
"
{{
.Values.global.hub
}}/{{
.Values.smsVerifyApi.image.repository
}}:{{
.Values.smsVerifyApi.image.tag
}}{{
template
"beagle.imageArch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.global.imagePullPolicy
}}"
ports
:
-
containerPort
:
8080
protocol
:
TCP
envFrom
:
-
configMapRef
:
name
:
sms-verify-api
volumeMounts
:
-
name
:
localtime
mountPath
:
/etc/localtime
restartPolicy
:
Always
templates/sms/ingressroute.yaml
deleted
100644 → 0
View file @
6565f937
apiVersion
:
bcc.bd-apaas.com/v1alpha1
kind
:
IngressRoute
metadata
:
name
:
sms-verify-api
namespace
:
{{
.Release.Namespace
}}
spec
:
entryPoints
:
-
websecure
routes
:
-
kind
:
Rule
match
:
Host(`{{ .Values.global.host }}`) && PathPrefix(`/sms/api`)
services
:
-
kind
:
Service
name
:
sms-verify-api
port
:
80
tls
:
certResolver
:
default
templates/sms/service.yaml
deleted
100644 → 0
View file @
6565f937
kind
:
Service
apiVersion
:
v1
metadata
:
name
:
sms-verify-api
namespace
:
{{
.Release.Namespace
}}
labels
:
{{
include "sms-verify-api.labels" . | indent 4
}}
app
:
sms-verify-api
versoin
:
{{
.Values.smsVerifyApi.image.tag
}}
spec
:
ports
:
-
name
:
sms-verify-api
protocol
:
TCP
port
:
80
targetPort
:
8080
selector
:
app
:
sms-verify-api
type
:
ClusterIP
sessionAffinity
:
None
templates/usma-api/ingressroute.yaml
View file @
3385d4e8
...
@@ -2,16 +2,14 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
...
@@ -2,16 +2,14 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
kind
:
IngressRoute
kind
:
IngressRoute
metadata
:
metadata
:
name
:
usma-api
name
:
usma-api
namespace
:
{{
.Release.Namespace
}}
namespace
:
{{
.Release.Namespace
}}
spec
:
spec
:
entryPoints
:
entryPoints
:
-
web
secure
-
web
routes
:
routes
:
-
kind
:
Rule
-
kind
:
Rule
match
:
Host(`
{{ .Values.global.host }}
`) && PathPrefix(`/usma/api`)
match
:
Host(`
bg-usma.zwyycs.local
`) && PathPrefix(`/usma/api`)
services
:
services
:
-
kind
:
Service
-
kind
:
Service
name
:
usma-api
name
:
usma-api
port
:
80
port
:
80
tls
:
certResolver
:
default
templates/usma-api/service.yaml
View file @
3385d4e8
...
@@ -12,5 +12,7 @@ spec:
...
@@ -12,5 +12,7 @@ spec:
-
name
:
usma-api
-
name
:
usma-api
port
:
80
port
:
80
targetPort
:
8080
targetPort
:
8080
nodePort
:
30091
selector
:
selector
:
app
:
usma-api
app
:
usma-api
\ No newline at end of file
type
:
NodePort
\ No newline at end of file
templates/usma-login/api/ingressroute.yaml
View file @
3385d4e8
...
@@ -2,16 +2,15 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
...
@@ -2,16 +2,15 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
kind
:
IngressRoute
kind
:
IngressRoute
metadata
:
metadata
:
name
:
usma-login-api
name
:
usma-login-api
namespace
:
{{
.Release.Namespace
}}
namespace
:
{{
.Release.Namespace
}}
spec
:
spec
:
entryPoints
:
entryPoints
:
-
web
secure
-
web
routes
:
routes
:
-
kind
:
Rule
-
kind
:
Rule
match
:
Host(`
{{ .Values.global.host }}
`) && PathPrefix(`/iam/api`)
match
:
Host(`
bg-usma.zwyycs.local
`) && PathPrefix(`/iam/api`)
services
:
services
:
-
kind
:
Service
-
kind
:
Service
name
:
usma-login-api
name
:
usma-login-api
port
:
80
port
:
80
tls
:
certResolver
:
default
templates/usma-login/api/service.yaml
View file @
3385d4e8
...
@@ -13,7 +13,9 @@ spec:
...
@@ -13,7 +13,9 @@ spec:
protocol
:
TCP
protocol
:
TCP
port
:
80
port
:
80
targetPort
:
80
targetPort
:
80
nodePort
:
30093
selector
:
selector
:
app
:
usma-login-api
app
:
usma-login-api
type
:
ClusterIP
type
:
NodePort
sessionAffinity
:
None
sessionAffinity
:
None
templates/usma-login/ui/ingressroute.yaml
View file @
3385d4e8
...
@@ -2,16 +2,15 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
...
@@ -2,16 +2,15 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
kind
:
IngressRoute
kind
:
IngressRoute
metadata
:
metadata
:
name
:
usma-login
name
:
usma-login
namespace
:
{{
.Release.Namespace
}}
namespace
:
{{
.Release.Namespace
}}
spec
:
spec
:
entryPoints
:
entryPoints
:
-
web
secure
-
web
routes
:
routes
:
-
kind
:
Rule
-
kind
:
Rule
match
:
Host(`
{{ .Values.global.host }}
`) && PathPrefix(`/usma/login`)
match
:
Host(`
bg-usma.zwyycs.local
`) && PathPrefix(`/usma/login`)
services
:
services
:
-
kind
:
Service
-
kind
:
Service
name
:
usma-login
name
:
usma-login
port
:
80
port
:
80
tls
:
certResolver
:
default
templates/usma-login/ui/service.yaml
View file @
3385d4e8
...
@@ -13,7 +13,8 @@ spec:
...
@@ -13,7 +13,8 @@ spec:
protocol
:
TCP
protocol
:
TCP
port
:
80
port
:
80
targetPort
:
80
targetPort
:
80
nodePort
:
30092
selector
:
selector
:
app
:
usma-login
app
:
usma-login
type
:
ClusterIP
type
:
NodePort
sessionAffinity
:
None
sessionAffinity
:
None
templates/usma-ui.yaml
View file @
3385d4e8
...
@@ -7,6 +7,6 @@ data:
...
@@ -7,6 +7,6 @@ data:
configmap
:
|-
configmap
:
|-
window.defaultConfig = {
window.defaultConfig = {
tokenName: "usmaToken",
tokenName: "usmaToken",
gitLogoutUrl: "http
s://gitlab.ysdpaas.local
/usma/rest/v5/git/sign_out",
gitLogoutUrl: "http
://183.201.253.162:10003
/usma/rest/v5/git/sign_out",
usmaLoginUrl: "http
s
://{{ .Values.global.host }}/usma/login/#/login"
usmaLoginUrl: "http://{{ .Values.global.host }}/usma/login/#/login"
};
};
templates/usma-ui/ingressroute.yaml
View file @
3385d4e8
...
@@ -2,16 +2,15 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
...
@@ -2,16 +2,15 @@ apiVersion: bcc.bd-apaas.com/v1alpha1
kind
:
IngressRoute
kind
:
IngressRoute
metadata
:
metadata
:
name
:
usma-ui
name
:
usma-ui
namespace
:
{{
.Release.Namespace
}}
namespace
:
{{
.Release.Namespace
}}
spec
:
spec
:
entryPoints
:
entryPoints
:
-
web
secure
-
web
routes
:
routes
:
-
kind
:
Rule
-
kind
:
Rule
match
:
Host(`
{{ .Values.global.host }}
`) && PathPrefix(`/usma/ui`)
match
:
Host(`
bg-usma.zwyycs.local
`) && PathPrefix(`/usma/ui`)
services
:
services
:
-
kind
:
Service
-
kind
:
Service
name
:
usma-ui
name
:
usma-ui
port
:
8080
port
:
8080
tls
:
certResolver
:
default
templates/usma-ui/service.yaml
View file @
3385d4e8
...
@@ -13,5 +13,8 @@ spec:
...
@@ -13,5 +13,8 @@ spec:
protocol
:
TCP
protocol
:
TCP
port
:
8080
port
:
8080
targetPort
:
8080
targetPort
:
8080
nodePort
:
30090
selector
:
selector
:
app
:
usma-ui
app
:
usma-ui
type
:
NodePort
values.yaml
View file @
3385d4e8
...
@@ -6,84 +6,79 @@ global:
...
@@ -6,84 +6,79 @@ global:
# 镜像拉取策略
# 镜像拉取策略
imagePullPolicy
:
"
IfNotPresent"
imagePullPolicy
:
"
IfNotPresent"
# 镜像架构(amd64,arm64,ppc64le,mips64le),只控制servicechoreography业务系统的镜像架构,依赖组件不受此参数控制
# 镜像架构(amd64,arm64,ppc64le,mips64le),只控制servicechoreography业务系统的镜像架构,依赖组件不受此参数控制
imageArch
:
a
rm
64
imageArch
:
a
md
64
usma
:
usma
:
conf
:
conf
:
DB_SCHEMA
:
"
public"
DB_SCHEMA
:
"
public"
DB_URL
:
"
host=postgresql
port=5432
user=postgres
password=
passwd123
dbname=postgres
sslmode=disable
search_path=public"
DB_URL
:
"
host=postgresql
port=5432
user=postgres
password=
k6psy7kafT%U
dbname=postgres
sslmode=disable
search_path=public"
REDIS_URL
:
"
redis://redis:6379"
REDIS_URL
:
"
redis://redis:6379"
REDIS_PASSWORD
:
"
passwd123
"
REDIS_PASSWORD
:
"
k6psy7kafT%U
"
LOCATION_KEY
:
"
QKFBZ-PGGWJ-VZQFF-FHPA7-QWT5H-YHF4T"
LOCATION_KEY
:
"
QKFBZ-PGGWJ-VZQFF-FHPA7-QWT5H-YHF4T"
LOCATION_URL
:
"
https://apis.map.qq.com/ws/location/v1/ip"
LOCATION_URL
:
"
https://apis.map.qq.com/ws/location/v1/ip"
SMS_SERVICE
:
"
http://sms-verify-api:80/sms/api"
SMS_SERVICE
:
"
http://sms-verify-api:80/sms/api"
fileUpload
:
fileUpload
:
image
:
image
:
repository
:
hub.wodcloud.com
/devops/fileupload
repository
:
registry.beagle.default:6444
/devops/fileupload
tag
:
v2.0
tag
:
v2.0
storageClassName
:
"
hostpath"
storageClassName
:
"
nfs-storage"
smsVerifyApi
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/sms-verify-api
tag
:
v2.4.0
usmaApi
:
usmaApi
:
image
:
image
:
repository
:
hub.wodcloud.com
/apaas-sxxcy/usma-api
repository
:
registry.beagle.default:6444
/apaas-sxxcy/usma-api
tag
:
v1.0.2
tag
:
v1.0.2
storageClassName
:
"
hostpath
"
storageClassName
:
"
nfs-storage
"
usmaLoginApi
:
usmaLoginApi
:
image
:
image
:
repository
:
hub.wodcloud.com
/apaas-sxxcy/usma-login-api
repository
:
registry.beagle.default:6444
/apaas-sxxcy/usma-login-api
tag
:
v1.0.0
tag
:
v1.0.0
storageClassName
:
"
hostpath
"
storageClassName
:
"
nfs-storage
"
usmaLogin
:
usmaLogin
:
image
:
image
:
repository
:
hub.wodcloud.com
/apaas-sxxcy/usma-login-ui
repository
:
registry.beagle.default:6444
/apaas-sxxcy/usma-login-ui
tag
:
v1.0.0
tag
:
v1.0.0
usmaUi
:
usmaUi
:
image
:
image
:
repository
:
hub.wodcloud.com
/apaas-sxxcy/usma-ui
repository
:
registry.beagle.default:6444
/apaas-sxxcy/usma-ui
tag
:
v1.0.1
tag
:
v1.0.1
# 初始化数据库job
# 初始化数据库job
usmaDbInit
:
usmaDbInit
:
image
:
image
:
repository
:
hub.wodcloud.com
/wod/usma-db-init
repository
:
registry.beagle.default:6444
/wod/usma-db-init
tag
:
v1.0.0
tag
:
v1.0.0
# redis中间件默认svc是 redis
# redis中间件默认svc是 redis
redis
:
redis
:
enabled
:
true
enabled
:
true
image
:
image
:
repository
:
redis
repository
:
re
gistry.beagle.default:6444/wod/re
dis
tag
:
6.
2.6
tag
:
6.
0.9
#redis的config
#redis的config
conf
:
conf
:
port
:
'
port
6379'
port
:
'
port
6379'
db
:
'
databases
16'
db
:
'
databases
16'
maxmem
:
'
maxmemory
256mb'
maxmem
:
'
maxmemory
256mb'
apl
:
'
appendonly
yes'
apl
:
'
appendonly
yes'
passwd
:
'
requirepass
passwd123
'
passwd
:
'
requirepass
k6psy7kafT%U
'
#持久化存储类
#持久化存储类
storageClassName
:
"
hostpath
"
storageClassName
:
"
nfs-storage
"
# postgresql中间件默认svc是 postgresql
# postgresql中间件默认svc是 postgresql
postgresql
:
postgresql
:
enabled
:
true
enabled
:
true
image
:
image
:
repository
:
postgre
s
repository
:
registry.beagle.default:6444/wod/postgi
s
tag
:
1
3
.5
tag
:
1
1-2
.5
initImage
:
initImage
:
repository
:
busybox
repository
:
registry.beagle.default:6444/devops/
busybox
tag
:
1.33
tag
:
1.33
#数据库密码
#数据库密码
POSTGRES_PASSWORD
:
"
passwd123
"
POSTGRES_PASSWORD
:
"
k6psy7kafT%U
"
#持久化存储类
#持久化存储类
storageClassName
:
"
hostpath
"
storageClassName
:
"
nfs-storage
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment