-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Akri: Add discoveryHandlerName annotation to discovery handler daemon…
… sets
- Loading branch information
Showing
16 changed files
with
135 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
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,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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
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,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
14 changes: 14 additions & 0 deletions
14
packages/akri/generated-changes/patch/templates/custom-discovery-handler.yaml.patch
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,14 @@ | ||
--- charts-original/templates/custom-discovery-handler.yaml | ||
+++ charts/templates/custom-discovery-handler.yaml | ||
@@ -3,6 +3,10 @@ | ||
kind: DaemonSet | ||
metadata: | ||
name: {{ printf "%s-daemonset" .Values.custom.discovery.name }} | ||
+ {{- if .Values.custom.discovery.discoveryHandlerName }} | ||
+ annotations: | ||
+ akri.sh/discoveryHandlerName: {{ .Values.custom.discovery.discoveryHandlerName }} | ||
+ {{- end }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
\ No newline at end of file |
12 changes: 12 additions & 0 deletions
12
packages/akri/generated-changes/patch/templates/debug-echo-discovery-handler.yaml.patch
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 @@ | ||
--- charts-original/templates/debug-echo-discovery-handler.yaml | ||
+++ charts/templates/debug-echo-discovery-handler.yaml | ||
@@ -3,6 +3,8 @@ | ||
kind: DaemonSet | ||
metadata: | ||
name: akri-debug-echo-discovery-daemonset | ||
+ annotations: | ||
+ akri.sh/discoveryHandlerName: debugEcho | ||
spec: | ||
selector: | ||
matchLabels: | ||
\ No newline at end of file |
12 changes: 12 additions & 0 deletions
12
packages/akri/generated-changes/patch/templates/onvif-discovery-handler.yaml.patch
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 @@ | ||
--- charts-original/templates/onvif-discovery-handler.yaml | ||
+++ charts/templates/onvif-discovery-handler.yaml | ||
@@ -3,6 +3,8 @@ | ||
kind: DaemonSet | ||
metadata: | ||
name: akri-onvif-discovery-daemonset | ||
+ annotations: | ||
+ akri.sh/discoveryHandlerName: onvif | ||
spec: | ||
selector: | ||
matchLabels: | ||
\ No newline at end of file |
12 changes: 12 additions & 0 deletions
12
packages/akri/generated-changes/patch/templates/opcua-discovery-handler.yaml.patch
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 @@ | ||
--- charts-original/templates/opcua-discovery-handler.yaml | ||
+++ charts/templates/opcua-discovery-handler.yaml | ||
@@ -3,6 +3,8 @@ | ||
kind: DaemonSet | ||
metadata: | ||
name: akri-opcua-discovery-daemonset | ||
+ annotations: | ||
+ akri.sh/discoveryHandlerName: opcua | ||
spec: | ||
selector: | ||
matchLabels: | ||
\ No newline at end of file |
12 changes: 12 additions & 0 deletions
12
packages/akri/generated-changes/patch/templates/udev-discovery-handler.yaml.patch
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 @@ | ||
--- charts-original/templates/udev-discovery-handler.yaml | ||
+++ charts/templates/udev-discovery-handler.yaml | ||
@@ -3,6 +3,8 @@ | ||
kind: DaemonSet | ||
metadata: | ||
name: akri-udev-discovery-daemonset | ||
+ annotations: | ||
+ akri.sh/discoveryHandlerName: udev | ||
spec: | ||
selector: | ||
matchLabels: | ||
\ No newline at end of file |
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,11 @@ | ||
--- charts-original/values.yaml | ||
+++ charts/values.yaml | ||
@@ -237,6 +237,8 @@ | ||
protocol: TCP | ||
# discovery defines a set of values for a custom discovery handler DaemonSet | ||
discovery: | ||
+ # exposes discovery handler name as akri.sh/discoveryHandlerName annotation on the DaemonSet | ||
+ discoveryHandlerName: '' | ||
# enabled defines whether discovery handler pods will be deployed in a slim Agent scenario | ||
enabled: false | ||
# name is the Kubernetes resource name that will be created for this |