Skip to content

Commit

Permalink
exclude deployments replicas from hash compute
Browse files Browse the repository at this point in the history
Signed-off-by: Jeeva Kandasamy <jkandasa@redhat.com>
  • Loading branch information
jkandasa authored and tekton-robot committed Aug 31, 2023
1 parent 9a03455 commit cb803c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/kubernetes/tektoninstallerset/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func (i *installer) ensureDeployment(expected *unstructured.Unstructured) error
if err := runtime.DefaultUnstructuredConverter.FromUnstructured(existing.Object, existingDeployment); err != nil {
return err
}
existingHashValue, err := hash.Compute(existingDeployment.Spec)
existingHashValue, err := computeDeploymentHash(*existingDeployment)
if err != nil {
return fmt.Errorf("failed to compute hash value of existing deployment, name:%s, error: %v", existing.GetName(), err)
}
Expand Down

0 comments on commit cb803c4

Please sign in to comment.