Skip to content

Commit b422a76

Browse files
authored
Add control-id label to Agent as required for N1C (#7849)
add control-id as required for N1C
1 parent c044158 commit b422a76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/nginx/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ func (lm *LocalManager) AgentStart(agentDone chan error, instanceGroup string) {
636636
fmt.Sprintf("cluster-id=%s", metadataInfo.ClusterID),
637637
fmt.Sprintf("installation-name=%s", metadataInfo.InstallationName),
638638
fmt.Sprintf("installation-id=%s", metadataInfo.InstallationID),
639+
fmt.Sprintf("control-id=%s", metadataInfo.InstallationID), // control-id is required but is the same as installation-id
639640
fmt.Sprintf("installation-namespace=%s", metadataInfo.InstallationNamespace),
640641
}
641642
metadataLabels := "--labels=" + strings.Join(labels, ",")

0 commit comments

Comments
 (0)