Skip to content
Snippets Groups Projects
Commit c6de64e5 authored by famelis's avatar famelis
Browse files

refactor: change automation->ztp for metrics and license

parent c47401f9
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!166Refactor/47 ubi rename ztp component
...@@ -277,9 +277,9 @@ apiVersion: monitoring.coreos.com/v1 ...@@ -277,9 +277,9 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
namespace: monitoring # namespace where prometheus is running namespace: monitoring # namespace where prometheus is running
name: tfs-automationservice-metric name: tfs-ztpservice-metric
labels: labels:
app: automationservice app: ztpservice
#release: prometheus #release: prometheus
#release: prom # name of the release #release: prom # name of the release
# ( VERY IMPORTANT: You need to know the correct release name by viewing # ( VERY IMPORTANT: You need to know the correct release name by viewing
...@@ -290,7 +290,7 @@ spec: ...@@ -290,7 +290,7 @@ spec:
matchLabels: matchLabels:
# Target app service # Target app service
#namespace: tfs #namespace: tfs
app: automationservice # same as above app: ztpservice # same as above
#release: prometheus # same as above #release: prometheus # same as above
endpoints: endpoints:
- port: metrics # named port in target app - port: metrics # named port in target app
...@@ -474,4 +474,4 @@ spec: ...@@ -474,4 +474,4 @@ spec:
namespaceSelector: namespaceSelector:
any: false any: false
matchNames: matchNames:
- tfs # namespace where the app is running - tfs # namespace where the app is running
\ No newline at end of file
...@@ -55,8 +55,8 @@ def skip_file(file_path : str) -> bool: ...@@ -55,8 +55,8 @@ def skip_file(file_path : str) -> bool:
if '/.mvn/' in file_path: return True if '/.mvn/' in file_path: return True
if '/hackfest/kafka/kafka_2.13-2.8.0' in file_path: return True if '/hackfest/kafka/kafka_2.13-2.8.0' in file_path: return True
if '/src/device/service/drivers/openconfig/templates/' in file_path: return True if '/src/device/service/drivers/openconfig/templates/' in file_path: return True
if '/automation/target/generated-sources/grpc/' in file_path: return True if '/ztp/target/generated-sources/grpc/' in file_path: return True
if '/automation/target/kubernetes/' in file_path: return True if '/ztp/target/kubernetes/' in file_path: return True
if '/policy/target/generated-sources/grpc/' in file_path: return True if '/policy/target/generated-sources/grpc/' in file_path: return True
if '/policy/target/kubernetes/' in file_path: return True if '/policy/target/kubernetes/' in file_path: return True
if '/src/dlt/gateway/' in file_path: return True if '/src/dlt/gateway/' in file_path: return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment