-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add transport secret for global hub manager and agent (#1054)
* Add Secrets Signed-off-by: myan <[email protected]> * fix integration Signed-off-by: myan <[email protected]> * fix the e2e Signed-off-by: myan <[email protected]> * rename the transport secret Signed-off-by: myan <[email protected]> * roll back unnessary Signed-off-by: myan <[email protected]> * reply review Signed-off-by: myan <[email protected]> * review Signed-off-by: myan <[email protected]> * fix integration Signed-off-by: myan <[email protected]> * fix e2e Signed-off-by: myan <[email protected]> * fix sonar Signed-off-by: myan <[email protected]> * log the kafka user and topics information Signed-off-by: myan <[email protected]> * add kafkauser and topics log Signed-off-by: myan <[email protected]> --------- Signed-off-by: myan <[email protected]>
- Loading branch information
Showing
15 changed files
with
141 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...ddon/manifests/templates/agent/multicluster-global-hub-agent-transport-config-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{- if not .InstallHostedMode -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{.TransportConfigSecret}} | ||
namespace: {{ .AddonInstallNamespace }} | ||
labels: | ||
addon.open-cluster-management.io/hosted-manifest-location: none | ||
type: Opaque | ||
data: | ||
"kafka.yaml": {{.KafkaConfigYaml}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
operator/pkg/controllers/hubofhubs/manager/manifests/transport-config-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{.TransportConfigSecret}} | ||
namespace: {{.Namespace}} | ||
labels: | ||
name: multicluster-global-hub-manager | ||
type: Opaque | ||
data: | ||
"kafka.yaml": {{.KafkaConfigYaml}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.