Skip to content

Commit

Permalink
fix immutable configmaps typo
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Matyas <[email protected]>
  • Loading branch information
martin-mat committed Apr 16, 2024
1 parent 8114e5d commit 713c022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tasks/workload/configuration.cr
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ task "immutable_configmap" do |t, args|
immutable_configmap_supported = true
immutable_configmap_enabled = true

# if the reapply with a change succedes immmutable configmaps is NOT enabled
# if the reapply with a change succedes immutable configmaps is NOT enabled
# if KubectlClient::Apply.file(test_config_map_filename) == 0
apply_result = KubectlClient::Apply.file(test_config_map_filename)

Expand All @@ -541,9 +541,9 @@ task "immutable_configmap" do |t, args|
Log.for(t.name).info { "kubectl apply on immutable configmap succeeded for: #{test_config_map_filename}" }
k8s_ver = KubectlClient.server_version
if version_less_than(k8s_ver, "1.19.0")
CNFManager::TestcaseResult.new(CNFManager::ResultStatus::Skipped, "immmutable configmaps are not supported in this k8s cluster")
CNFManager::TestcaseResult.new(CNFManager::ResultStatus::Skipped, "immutable configmaps are not supported in this k8s cluster")
else
CNFManager::TestcaseResult.new(CNFManager::ResultStatus::Failed, "immmutable configmaps are not enabled in this k8s cluster")
CNFManager::TestcaseResult.new(CNFManager::ResultStatus::Failed, "immutable configmaps are not enabled in this k8s cluster")
end
else

Expand Down

0 comments on commit 713c022

Please sign in to comment.