Skip to content

Commit

Permalink
✨ Add setting to disable analysis archiver
Browse files Browse the repository at this point in the history
This is necessary for Kai to harvest historical data from the hub

Signed-off-by: Fabian von Feilitzsch <fabian@fabianism.us>
  • Loading branch information
fabianvf committed Jun 18, 2024
1 parent 117fe36 commit fee7241
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ Name | Default | Description
--- | --- | ---
feature_auth_required | true | Enable keycloak auth or false (single user/noauth)
feature_isolate_namespace | true | Enable namespace isolation via network policies
feature_analysis_archiver | true | If enabled, automatically archives old analysis reports when a new one is created
rwx_supported: | true | Whether or not RWX volumes are supported in the cluster
hub_database_volume_size | 5Gi | Size requested for Hub database volume
hub_bucket_volume_size | 100gi | Size requested for Hub bucket volume
Expand Down
1 change: 1 addition & 0 deletions roles/tackle/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ app_version: "{{ lookup('env', 'VERSION') }}"
feature_auth_required: "{{ false if app_profile == 'konveyor' else true }}"
feature_auth_type: keycloak
feature_isolate_namespace: true
feature_analysis_archiver: true

# Environment
openshift_cluster: false
Expand Down
7 changes: 7 additions & 0 deletions roles/tackle/templates/deployment-hub.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ spec:
{% if no_proxy|length >0 %}
- name: NO_PROXY
value: {{ no_proxy }}
{% endif %}
{% if feature_analysis_archiver|bool %}
- name: ANALYSIS_ARCHIVER_ENABLED
value: "true"
{% else %}
- name: ANALYSIS_ARCHIVER_ENABLED
value: "false"
{% endif %}
ports:
- containerPort: {{ hub_port }}
Expand Down

0 comments on commit fee7241

Please sign in to comment.