大量更新

This commit is contained in:
zeaslity
2025-03-27 16:02:12 +08:00
parent ae4bdb7dbc
commit 32c82b2751
2 changed files with 7 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ spec:
- name: harborsecret - name: harborsecret
containers: containers:
- name: cmii-uav-watchdog-agent - name: cmii-uav-watchdog-agent
image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog-agent-java:2025-03-26-16-26-29 image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog-agent-java:2025-03-26-17-09-09
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: K8S_NAMESPACE - name: K8S_NAMESPACE
@@ -101,6 +101,8 @@ spec:
resourceFieldRef: resourceFieldRef:
containerName: cmii-uav-watchdog-agent containerName: cmii-uav-watchdog-agent
resource: requests.memory resource: requests.memory
- name: WATCHDOG_HEARTBEAT_URL
value: http://cmii-uav-watchdog:8080/api/heartbeat
ports: ports:
- name: pod-port - name: pod-port
containerPort: 8080 containerPort: 8080

View File

@@ -38,7 +38,7 @@ spec:
- name: harborsecret - name: harborsecret
containers: containers:
- name: cmii-uav-watchdog - name: cmii-uav-watchdog
image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog:2025-03-26-16-26-29 image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog:2025-03-26-17-33-09
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: K8S_NAMESPACE - name: K8S_NAMESPACE
@@ -143,7 +143,7 @@ metadata:
app.kubernetes.io/managed-by: octopus app.kubernetes.io/managed-by: octopus
app.kubernetes.io/app-version: 6.2.0 app.kubernetes.io/app-version: 6.2.0
spec: spec:
type: ClusterIP type: NodePort
selector: selector:
cmii.type: backend cmii.type: backend
cmii.app: cmii-uav-watchdog cmii.app: cmii-uav-watchdog
@@ -152,6 +152,7 @@ spec:
port: 8080 port: 8080
protocol: TCP protocol: TCP
targetPort: 8080 targetPort: 8080
nodePort: 34567
--- ---
kind: ConfigMap kind: ConfigMap
apiVersion: v1 apiVersion: v1
@@ -171,7 +172,7 @@ data:
url: "https://watchdog-center.example.com" # 一级授权中心地址 url: "https://watchdog-center.example.com" # 一级授权中心地址
project: project:
project_namespace: "uavcloud-devfilght" # 项目命名空间 project_namespace: "uavcloud-devflight" # 项目命名空间
tier_two_auth: tier_two_auth:
tier_two_secret: "your_tier_two_secret_here" # 二级授权密钥 tier_two_secret: "your_tier_two_secret_here" # 二级授权密钥