-
-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Add v1alpha2 for SecretClass, rename experimentalGenerateSamAccountName #634
New issue
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
base: main
Are you sure you want to change the base?
Changes from all commits
dd0c321
fae2648
3bc0563
ffcc13d
82138a5
781bdb5
bb3f331
f6088b7
5b29a38
b6ac8a1
5935ac1
aaa53f3
2c40510
2ea2060
0f9fa29
c532029
3e7f87a
29ccbdf
09cbad6
8098b86
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,27 +17,17 @@ custom_build( | |
outputs_image_ref_to='result/ref', | ||
) | ||
|
||
# Load the latest CRDs from Nix | ||
watch_file('result') | ||
if os.path.exists('result'): | ||
k8s_yaml('result/crds.yaml') | ||
|
||
# We need to set the correct image annotation on the operator Deployment to use e.g. | ||
# oci.stackable.tech/sandbox/opa-operator:7y19m3d8clwxlv34v5q2x4p7v536s00g instead of | ||
# oci.stackable.tech/sandbox/opa-operator:0.0.0-dev (which does not exist) | ||
k8s_kind('Deployment', image_json_path='{.spec.template.metadata.annotations.internal\\.stackable\\.tech/image}') | ||
|
||
# Exclude stale CRDs from Helm chart, and apply the rest | ||
helm_crds, helm_non_crds = filter_yaml( | ||
helm( | ||
'deploy/helm/' + operator_name, | ||
name=operator_name, | ||
namespace="stackable-operators", | ||
set=[ | ||
'image.repository=' + registry + '/' + operator_name, | ||
], | ||
), | ||
api_version = "^apiextensions\\.k8s\\.io/.*$", | ||
kind = "^CustomResourceDefinition$", | ||
) | ||
k8s_yaml(helm_non_crds) | ||
k8s_yaml(helm( | ||
'deploy/helm/' + operator_name, | ||
name=operator_name, | ||
namespace="stackable-operators", | ||
set=[ | ||
'image.repository=' + registry + '/' + operator_name, | ||
'telemetry.consoleLog.level=trace,h2=off', | ||
], | ||
)) | ||
Comment on lines
+25
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also needs to be upstreamed into There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a comment in the PR description about this |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This eventually needs to be upstreamed into
operator-templating
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment in the PR description about this