3 Commits

Author SHA1 Message Date
mr
5dea87e410 erronate makefile 2025-11-13 10:24:44 +01:00
mr
ced35dad67 Merge branch 'main' of https://cloud.o-forge.io/core/oc-monitord 2025-11-13 09:52:05 +01:00
mr
3889f20250 gitignore 2025-11-13 09:41:01 +01:00
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@@ -22,3 +22,4 @@
go.work
argo_workflows/*
env.env

View File

@@ -12,7 +12,7 @@ clean:
rm -rf oc-monitord
docker:
DOCKER_BUILDKIT=1 docker build -t oc-monitord: -f Dockerfile .
DOCKER_BUILDKIT=1 docker build -t oc-monitord -f Dockerfile .
docker tag oc-monitord oc/oc-monitord:0.0.1
publish-kind:

View File

@@ -143,7 +143,7 @@ func (template *Template) ReplacePerEnv(arg string, envs []models.Param) string
// Add the metadata that allow Admiralty to pick up an Argo Workflow that needs to be reparted
// The value of "clustername" is the peerId, which must be replaced by the node name's for this specific execution
func (t *Template) AddAdmiraltyAnnotations(peerId string){
func (t *Template) AddAdmiraltyAnnotations(peerId string) {
if t.Metadata.Annotations == nil {
t.Metadata.Annotations = make(map[string]string)
}