Skip to content

Commit 0b97f7b

Browse files
TenStMichaelMraka
authored andcommitted
RHINENG-21445: deployment cleanup
1 parent 299fc1c commit 0b97f7b

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

deploy/clowdapp.yaml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ objects:
7272
key: evaluator-database-password}}}
7373
- {name: VMAAS_SYNC_PASSWORD, valueFrom: {secretKeyRef: {name: patchman-engine-database-passwords,
7474
key: vmaas-sync-database-password}}}
75-
- {name: CYNDI_PASSWORD, valueFrom: {secretKeyRef: {name: patchman-engine-database-passwords,
76-
key: cyndi-database-password}}}
7775
- {name: POD_CONFIG, value: '${DATABASE_ADMIN_CONFIG}'}
7876
command:
7977
- ./scripts/entrypoint.sh
@@ -539,24 +537,6 @@ objects:
539537
- puptoo
540538
optionalDependencies:
541539
- content-sources-backend
542-
cyndi:
543-
enabled: true
544-
appName: patch
545-
insightsOnly: false
546-
additionalFilters:
547-
- name: "insightsOnly"
548-
type: "com.redhat.insights.kafka.connect.transforms.Filter"
549-
if: "record.headers().lastWithName('insights_id').value() && record.headers().lastWithName('insights_id').value() != '00000000-0000-0000-0000-000000000000'"
550-
where: "h.insights_id != '00000000-0000-0000-0000-000000000000'::uuid"
551-
- name: "nonCentOS"
552-
type: "com.redhat.insights.kafka.connect.transforms.Filter"
553-
if: "!record.headers().lastWithName('os_name').value().match(/centos/i)"
554-
join: "LEFT JOIN hbi.system_profiles_static sps ON sps.org_id = h.org_id AND sps.host_id = h.id"
555-
where: "COALESCE(sps.operating_system->>'name', '') NOT ILIKE '%centos%'"
556-
- name: "excludedReporters"
557-
type: "com.redhat.insights.kafka.connect.transforms.Filter"
558-
if: "!record.headers().lastWithName('reporter').value().match(/^(yupana|satellite|discovery|rhsm-conduit)$/i)"
559-
where: "h.reporter NOT IN ('yupana', 'satellite', 'discovery', 'rhsm-conduit')"
560540
testing:
561541
iqePlugin: patchman
562542

@@ -587,7 +567,6 @@ objects:
587567
FROM (SELECT sa.rh_account_id, sa.advisory_id, COUNT(*) as applicable_systems
588568
FROM system_advisories sa
589569
JOIN system_platform sp ON sa.rh_account_id = sp.rh_account_id AND sa.system_id = sp.id
590-
JOIN inventory.hosts ih ON sp.inventory_id = ih.id
591570
GROUP BY sa.rh_account_id, sa.advisory_id
592571
) as adv
593572
JOIN rh_account ra ON ra.id = adv.rh_account_id
@@ -618,11 +597,10 @@ objects:
618597
chunksize: ${{FLOORIST_HMS_CHUNKSIZE}}
619598
query: >-
620599
SELECT a.org_id,
621-
count(ih.id),
600+
count(sp.inventory_id),
622601
t.uuid::text as template_uuid, t.environment_id, t.name as template_name,
623602
CURRENT_DATE as collected_at
624603
FROM system_platform sp
625-
JOIN inventory.hosts ih ON sp.inventory_id = ih.id
626604
JOIN rh_account a ON a.id = sp.rh_account_id
627605
LEFT JOIN template t on t.id = sp.template_id
628606
where sp.last_upload >= date_trunc('month', CURRENT_DATE)
@@ -641,7 +619,6 @@ objects:
641619
listener-database-password: bGlzdGVuZXI= # listener
642620
evaluator-database-password: ZXZhbHVhdG9y # evaluator
643621
vmaas-sync-database-password: dm1hYXMtc3luYw== # vmaas-sync
644-
cyndi-database-password: Y3luZGk= # cyndi
645622

646623
- apiVersion: v1
647624
data:

0 commit comments

Comments
 (0)