Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
- profile
- custom
test-mode-input:
description: The profile or the runner used
description: |
The profile or the runner used. Eg: `smoke-latest` or `amd64` (see test/interu.yaml)
required: true
test-suite:
description: Name of the test-suite. Only used if test-mode is `custom`
Expand Down
11 changes: 10 additions & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ if os.path.exists('result'):
# 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}')
k8s_kind('DaemonSet', image_json_path='{.spec.template.metadata.annotations.internal\\.stackable\\.tech/image}')

# Optionally specify a custom Helm values file to be passed to the Helm deployment below.
# This file can for example be used to set custom telemetry options (like log level) which is not
# supported by helm(set).
helm_values = settings.get('helm_values', None)

helm_override_image_repository = 'image.repository=' + registry + '/' + operator_name

# Exclude stale CRDs from Helm chart, and apply the rest
helm_crds, helm_non_crds = filter_yaml(
Expand All @@ -34,8 +42,9 @@ helm_crds, helm_non_crds = filter_yaml(
name=operator_name,
namespace="stackable-operators",
set=[
'image.repository=' + registry + '/' + operator_name,
helm_override_image_repository,
],
values=helm_values,
),
api_version = "^apiextensions\\.k8s\\.io/.*$",
kind = "^CustomResourceDefinition$",
Expand Down
23 changes: 23 additions & 0 deletions deploy/helm/hbase-operator/templates/_maintenance.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{/*
Create a list of maintenance related env vars.
*/}}
{{- define "maintenance.envVars" -}}
{{- with .Values.maintenance }}
{{- if not .endOfSupportCheck.enabled }}
- name: EOS_DISABLED
value: "true"
{{- end }}
{{- if and .endOfSupportCheck.enabled .endOfSupportCheck.mode }}
- name: EOS_CHECK_MODE
value: {{ .endOfSupportCheck.mode }}
{{ end }}
{{- if and .endOfSupportCheck.enabled .endOfSupportCheck.interval }}
- name: EOS_INTERVAL
value: {{ .endOfSupportCheck.interval }}
{{ end }}
{{- if not .customResourceDefinitions.maintain }}
- name: DISABLE_CRD_MAINTENANCE
value: "true"
{{- end }}
{{- end }}
{{- end }}
Loading