Skip to content

Commit

Permalink
Update applied-manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
zentron committed Aug 16, 2024
1 parent d36afd7 commit 75feaca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ public static class CalamariDeploymentMetric

public static class Kubernetes
{
public const string AppliedManifest = "k8s-applied-manifest";


public static class AppliedManifest
{
public const string Name = "k8s-applied-manifest";
public const string Yaml = "yaml";
}
public const string ResourceStatus = "k8s-status";
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ IEnumerable<ResourceIdentifier> ApplyBatchAndReturnResourceIdentifiers(RunningDe

var updatedDocument = serializer.Serialize(rootNode);

log.WriteServiceMessage(new ServiceMessage(ServiceMessageNames.Kubernetes.AppliedManifest,
log.WriteServiceMessage(new ServiceMessage(ServiceMessageNames.Kubernetes.AppliedManifest.Name,
new Dictionary<string, string>
{
{ ServiceMessageNames.SetVariable.ValueAttribute, updatedDocument }
{ ServiceMessageNames.Kubernetes.AppliedManifest.Yaml, updatedDocument }
}));
}
}
Expand Down

0 comments on commit 75feaca

Please sign in to comment.