Skip to content

Commit

Permalink
correct difference that occurred during the v1.7.11 pull
Browse files Browse the repository at this point in the history
  • Loading branch information
bgy217 committed Feb 6, 2024
1 parent 0a8f0a5 commit c3fda90
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 320 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/integration-test-cassandra-suite.yaml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/integration-test-nfs-suite.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions pkg/daemon/ceph/client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,31 +308,3 @@ func WriteCephConfig(context *clusterd.Context, clusterInfo *ClusterInfo) error
}
return nil
}

// SetConfig applies a setting for a single mgr daemon
func SetConfig(context *clusterd.Context, clusterInfo *ClusterInfo, daemonID string, key, val string, force bool) (bool, error) {
var getArgs, setArgs []string
getArgs = append(getArgs, "config", "get", daemonID, key)
if val == "" {
setArgs = append(setArgs, "config", "rm", daemonID, key)
} else {
setArgs = append(setArgs, "config", "set", daemonID, key, val)
}
if force {
setArgs = append(setArgs, "--force")
}

// Retrieve previous value to monitor changes
var prevVal string
buf, err := NewCephCommand(context, clusterInfo, getArgs).Run()
if err == nil {
prevVal = strings.TrimSpace(string(buf))
}

if _, err := NewCephCommand(context, clusterInfo, setArgs).Run(); err != nil {
return false, errors.Wrapf(err, "failed to set config key %s to %q", key, val)
}

hasChanged := prevVal != val
return hasChanged, nil
}
110 changes: 0 additions & 110 deletions pkg/operator/ceph/pool/predicate.go

This file was deleted.

46 changes: 0 additions & 46 deletions pkg/operator/ceph/pool/predicate_test.go

This file was deleted.

10 changes: 5 additions & 5 deletions tests/integration/ceph_base_deploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ const (
// These versions are for running a minimal test suite for more efficient tests across different versions of K8s
// instead of running all suites on all versions
// To run on multiple versions, add a comma separate list such as 1.16.0,1.17.0
flexDriverMinimalTestVersion = "1.11.0,1.13.0"
cephMasterSuiteMinimalTestVersion = "1.12.0"
multiClusterMinimalTestVersion = "1.15.0"
flexDriverMinimalTestVersion = "1.15.0"
cephMasterSuiteMinimalTestVersion = "1.16.0"
multiClusterMinimalTestVersion = "1.16.0"
helmMinimalTestVersion = "1.17.0"
upgradeMinimalTestVersion = "1.19.0"
smokeSuiteMinimalTestVersion = "1.20.0"
upgradeMinimalTestVersion = "1.18.0"
smokeSuiteMinimalTestVersion = "1.19.0"
)

var (
Expand Down
1 change: 0 additions & 1 deletion tests/manifests/test-kms-vault-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ spec:
VAULT_ADDR: https://vault.default.svc.cluster.local:8200
VAULT_BACKEND_PATH: rook/ver1
VAULT_SECRET_ENGINE: kv
VAULT_BACKEND: v1
VAULT_SKIP_VERIFY: "true"
VAULT_CLIENT_KEY: "vault-client-key"
VAULT_CLIENT_CERT: "vault-client-cert"
Expand Down

0 comments on commit c3fda90

Please sign in to comment.