feature:TSG-X-P0906环境下chart包新增tsg_device_tag.json文件

This commit is contained in:
fumingwei
2022-08-30 19:32:47 +08:00
parent 86f8170f1a
commit 334a66f71d
7 changed files with 15 additions and 2 deletions

View File

@@ -144,7 +144,6 @@
roles:
- {role: k3s-install, tags: k3s-install}
- {role: tsg-os-provision, tags: tsg-os-provision}
- {role: tsg_device_tag, tags: tsg_device_tag}
- {role: tsg_sn, tags: tsg_sn}
- {role: framework, tags: framework}
- {role: mrzcpd, tags: mrzcpd}

View File

@@ -61,4 +61,4 @@ FULL_CFG_DIR=tsgrule/full/index/
EFFECTIVE_RANGE_FILE=/opt/tsg/etc/tsg_device_tag.json
[MAAT]
DEVICE_TAGS={"tags":[{{- include "traffic-engine.device-tag-list" . }}]}
ACCEPT_TAGS={"tags":[{{- include "traffic-engine.device-tag-list" . }}]}

View File

@@ -0,0 +1,2 @@
[MAAT]
ACCEPT_TAGS={"tags":[{{- include "traffic-engine.device-tag-list" . }}]}

View File

@@ -5,3 +5,4 @@ metadata:
namespace: default
data:
cert_store.ini: {{ tpl (.Files.Get "conf/cert_store.ini") . | quote }}
tsg_device_tag.json: {{ tpl (.Files.Get "conf/tsg_device_tag.json") . | quote }}

View File

@@ -15,3 +15,4 @@ data:
wangw.conf: {{ tpl (.Files.Get "conf/wangw.conf") . | quote }}
wire_graft.conf: {{ tpl (.Files.Get "conf/wire_graft.conf") . | quote }}
vlan_flipping_map.conf: {{ tpl (.Files.Get "conf/vlan_flipping_map.conf") . | quote }}
tsg_device_tag.json: {{ tpl (.Files.Get "conf/tsg_device_tag.json") . | quote }}

View File

@@ -6,3 +6,4 @@ metadata:
data:
tfe.conf: {{ tpl (.Files.Get "conf/tfe.conf") . | quote }}
pangu_pxy.conf: {{ tpl (.Files.Get "conf/pangu_pxy.conf") . | quote }}
tsg_device_tag.json: {{ tpl (.Files.Get "conf/tsg_device_tag.json") . | quote }}

View File

@@ -86,6 +86,9 @@ spec:
- name: sapp
mountPath: "/opt/tsg/sapp/etc/vlan_flipping_map.conf"
subPath: "vlan_flipping_map.conf"
- name: sapp
mountPath: "/opt/tsg/etc/tsg_device_tag.json"
subPath: "tsg_device_tag.json"
- name: config-volume
mountPath: "/opt/tsg/etc/tsg_sn.json"
subPath: "opt/tsg/etc/tsg_sn.json"
@@ -119,6 +122,9 @@ spec:
- name: tfe
mountPath: "/opt/tsg/tfe/conf/pangu/pangu_pxy.conf"
subPath: "pangu_pxy.conf"
- name: tfe
mountPath: "/opt/tsg/etc/tsg_device_tag.json"
subPath: "tsg_device_tag.json"
- name: config-volume
mountPath: "/opt/tsg/etc/tsg_sn.json"
subPath: "opt/tsg/etc/tsg_sn.json"
@@ -139,6 +145,9 @@ spec:
- name: certstore
mountPath: "/opt/tsg/certstore/conf/cert_store.ini"
subPath: "cert_store.ini"
- name: certstore
mountPath: "/opt/tsg/etc/tsg_device_tag.json"
subPath: "tsg_device_tag.json"
- name: config-volume
mountPath: "/opt/tsg/etc/tsg_sn.json"
subPath: "opt/tsg/etc/tsg_sn.json"