Skip to content

Commit

Permalink
Merge pull request #12 from mlibrary/fix-shell-quoting
Browse files Browse the repository at this point in the history
fix shell quoting
  • Loading branch information
niquerio authored Jun 24, 2024
2 parents 7193da9 + 1207e1e commit 2c7c69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tkseal/kubeseal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def self.exists?
end

def self.seal(context:, namespace:, name:, value:)
`printf "%s" "#{value}" | kubeseal --raw --namespace #{namespace} --name #{name} --context #{context}`
`printf "%s" '#{value}' | kubeseal --raw --namespace #{namespace} --name #{name} --context #{context}`
end
# :nocov:
end
Expand Down

0 comments on commit 2c7c69a

Please sign in to comment.