Skip to content

Commit

Permalink
Annotations manglet i pod template, fikset
Browse files Browse the repository at this point in the history
  • Loading branch information
eriweb committed Aug 16, 2024
1 parent 4d7ed46 commit d33fb2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/modules/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func GenDeployment(mg *metagraf.MetaGraf, namespace string) {
Name: objname,
Labels: l,
Namespace: namespace,
Annotations: mg.Metadata.Annotations,
Annotations: a,
},
Spec: corev1.PodSpec{
Containers: Containers,
Expand Down
2 changes: 1 addition & 1 deletion pkg/modules/statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func GenStatefulSet(mg *metagraf.MetaGraf, namespace string) {
Name: objname,
Labels: l,
Namespace: namespace,
Annotations: mg.Metadata.Annotations,
Annotations: a,
},
Spec: corev1.PodSpec{
Containers: Containers,
Expand Down

0 comments on commit d33fb2d

Please sign in to comment.