-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support pubkey secret creation for oci signature verification (#…
…240) * feat: support pubkey secret creation * feat: add support for .env files * fix: update values to address linting issues * feat: ensure pub key data is only added data key has suffix .pub * chore: bump oci plugin to v0.0.8 * feat: update validationresults crd
- Loading branch information
1 parent
fc351f3
commit 0a77ed3
Showing
8 changed files
with
146 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- range .Values.pluginSecrets.oci.auth }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ required ".Values.pluginSecrets.oci.auth.secretName is required!" .secretName }} | ||
stringData: | ||
username: {{ required ".Values.pluginSecrets.oci.auth.username is required!" .username }} | ||
password: {{ required ".Values.pluginSecrets.oci.auth.password is required!" .password }} | ||
--- | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{- range .Values.pluginSecrets.oci.pubKeys }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ required ".Values.pluginSecrets.oci.pubKeys.secretName is required!" .secretName }} | ||
data: | ||
{{- range $key, $val := . }} | ||
{{- if hasSuffix ".pub" $key }} | ||
{{ $key }}: {{ $val | b64enc | quote }} | ||
{{- end }} | ||
{{- end }} | ||
--- | ||
{{- end }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters