Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions controllers/ztunnel/ztunnel_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,7 @@
userValues := ztunnel.Spec.Values

// apply image digests from configuration, if not already set by user
// TODO: Revisit once we support ImageOverrides for ztunnel
// userValues = applyImageDigests(ztunnel, userValues, config.Config)

if userValues == nil {
userValues = &v1.ZTunnelValues{}
}

if userValues.ZTunnel == nil {
userValues.ZTunnel = &v1.ZTunnelConfig{}
}
userValues = applyImageDigests(version, userValues, config.Config)

Check warning on line 147 in controllers/ztunnel/ztunnel_controller.go

View check run for this annotation

Codecov / codecov/patch

controllers/ztunnel/ztunnel_controller.go#L147

Added line #L147 was not covered by tests

// apply userValues on top of defaultValues from profiles
mergedHelmValues, err := istiovalues.ApplyProfilesAndPlatform(
Expand Down
2 changes: 0 additions & 2 deletions controllers/ztunnel/ztunnel_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,6 @@ func TestDetermineReadyCondition(t *testing.T) {
}

func TestApplyImageDigests(t *testing.T) {
t.Skip("https://github.com/istio-ecosystem/sail-operator/issues/581")

testCases := []struct {
name string
config config.OperatorConfig
Expand Down