We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which component: kubeseal
Is your feature request related to a problem? Please describe. in my situation.
So, we just found sealed-secrets and so far we almost finished to apply sealed secret. Problem is.
Describe the solution you'd like
Describe alternatives you've considered
Additional context Screen shot of kubeseal raw mode. Results are different with same input
This is our code used to run kubeseal in a java program.
public class SealUtils { private final static Logger LOGGER = LoggerFactory.getLogger(ManifestGenerationService.class); public static String seal(String plainText, String namespace, String secretName, String certPath) { String command = "kubeseal"; String[] arguments = {"--raw", "--cert", certPath, "--namespace", namespace, "--name", secretName}; CommandLine cmdLine = new CommandLine(command); cmdLine.addArguments(arguments); InputStream inputStream = new java.io.ByteArrayInputStream(plainText.getBytes()); ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); DefaultExecutor executor = new DefaultExecutor(); ExecuteStreamHandler streamHandler = new PumpStreamHandler(outputStream, null, inputStream); executor.setStreamHandler(streamHandler); try { executor.execute(cmdLine); String result = outputStream.toString(); return result; } catch (ExecuteException e) { LOGGER.error("Failed to seal plainText. Exit code: " + e.getExitValue(), e); } catch (IOException e) { LOGGER.error("Failed to seal plainText(IOException). Exit code: " + e); } return ""; } }
The text was updated successfully, but these errors were encountered:
agarcia-oss
No branches or pull requests
Which component:
kubeseal
Is your feature request related to a problem? Please describe.
in my situation.
So, we just found sealed-secrets and so far we almost finished to apply sealed secret.
Problem is.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Screen shot of kubeseal raw mode. Results are different with same input
This is our code used to run kubeseal in a java program.
The text was updated successfully, but these errors were encountered: