Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
adbe16a6
提交
adbe16a6
authored
5月 25, 2023
作者:
余乾开
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(config):Ingress配置
上级
dd11be86
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
64 行增加
和
7 行删除
+64
-7
argocd-ingress.yaml
argocd/argocd-ingress.yaml
+28
-0
ingress.yaml
kustomization/ingress.yaml
+24
-7
secret.yaml
kustomization/secret.yaml
+12
-0
没有找到文件。
argocd/argocd-ingress.yaml
0 → 100644
浏览文件 @
adbe16a6
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
argocd-server-ingress
namespace
:
argocd
annotations
:
nginx.io/tls-acme
:
"
true"
nginx.ingress.kubernetes.io/backend-protocol
:
"
HTTPS"
# 后端使用tls协议,设置代理后端服务器的代理协议类型,默认为 HTTP
nginx.ingress.kubernetes.io/force-ssl-redirect
:
"
true"
nginx.ingress.kubernetes.io/ssl-passthrough
:
"
true"
spec
:
ingressClassName
:
"
nginx"
tls
:
-
hosts
:
-
argocd.iuav.mmcuav.cn
secretName
:
argocd-secret
rules
:
-
host
:
argocd.iuav.mmcuav.cn
http
:
paths
:
-
path
:
/
pathType
:
Prefix
backend
:
service
:
name
:
argocd-server
port
:
name
:
https
\ No newline at end of file
kustomization/ingress.yaml
浏览文件 @
adbe16a6
...
...
@@ -2,15 +2,18 @@ apiVersion: networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
sharefly-ingress
#不能超过 253 个字符;只能包含小写字母、数字,以及 '-' 和 '.';必须以字母数字开头;必须以字母数字结尾
namespace
:
de
fault
annotations
:
nginx.ingress.kubernetes.io/rewrite-target
:
/
#使用注解(annotations)来配置一些选项,具体取决于 Ingress 控制器
namespace
:
de
v
#
annotations:
#
nginx.ingress.kubernetes.io/rewrite-target: / #使用注解(annotations)来配置一些选项,具体取决于 Ingress 控制器
spec
:
#ingressClassName: nginx
ingressClassName
:
nginx
tls
:
-
hosts
:
-
test.iuav.mmcuav.cn
secretName
:
test-iuav-secret
rules
:
# - host: iuav.mmcuav.cn
# http
-
http
:
-
host
:
test.iuav.mmcuav.cn
http
:
paths
:
-
path
:
/pms
pathType
:
Prefix
...
...
@@ -19,4 +22,18 @@ spec:
name
:
pms-svc
port
:
number
:
8099
-
path
:
/userapp
pathType
:
Prefix
backend
:
service
:
name
:
cms-svc
port
:
number
:
35150
-
path
:
/release
pathType
:
Prefix
backend
:
service
:
name
:
ims-svc
port
:
number
:
10001
kustomization/secret.yaml
0 → 100644
浏览文件 @
adbe16a6
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
test-iuav-secret
type
:
kubernetes.io/tls
data
:
# the data is abbreviated in this example
tls.crt
:
|
Y21zL3NlY3JldC9kZXYvMTAxNjQ2ODRfdGVzdC5pdWF2Lm1tY3Vhdi5jbi5wZW0=
tls.key
:
|
Y21zL3NlY3JldC9kZXYvMTAxNjQ2ODRfdGVzdC5pdWF2Lm1tY3Vhdi5jbi5rZXk=
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论