Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Oct 3, 2024
1 parent 097d587 commit 81e2e51
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/kotsadmsnapshot/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -1002,9 +1002,11 @@ func ecBackupAnnotations(ctx context.Context, kbClient kbclient.Client, in *embe
annotations["kots.io/embedded-cluster-service-cidr"] = in.Spec.Network.ServiceCIDR
}

rcAnnotations := ecRuntimeConfigToBackupAnnotations(in.Spec.RuntimeConfig)
for k, v := range rcAnnotations {
annotations[k] = v
if in.Spec.RuntimeConfig != nil {
rcAnnotations := ecRuntimeConfigToBackupAnnotations(in.Spec.RuntimeConfig)
for k, v := range rcAnnotations {
annotations[k] = v
}
}

return annotations, nil
Expand Down

0 comments on commit 81e2e51

Please sign in to comment.