Skip to content

Commit 643e2af

Browse files
authored
KubeArchive: install to kflux-ocp-p01 (#7272)
Signed-off-by: Hector Martinez <[email protected]>
1 parent b4bd31e commit 643e2af

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

argo-cd-apps/base/member/infra-deployments/kubearchive/kubearchive.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ spec:
2121
- nameNormalized: stone-stg-rh01
2222
values.clusterDir: stone-stg-rh01
2323
# Private
24-
# - nameNormalized: kflux-ocp-p01
25-
# values.clusterDir: kflux-ocp-p01
24+
- nameNormalized: kflux-ocp-p01
25+
values.clusterDir: kflux-ocp-p01
2626
# - nameNormalized: stone-prod-p01
2727
# values.clusterDir: stone-prod-p01
2828
- nameNormalized: stone-prod-p02

components/konflux-ui/production/kflux-ocp-p01/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ configMapGenerator:
1313
literals:
1414
- IMPERSONATE=true
1515
- TEKTON_RESULTS_URL=https://tekton-results-api-service.tekton-results.svc.cluster.local:8080
16+
- KUBEARCHIVE_URL=https://kubearchive-api-server.product-kubearchive.svc.cluster.local:8081
1617

1718
patches:
1819
- path: add-service-certs-patch.yaml

components/kubearchive/production/kflux-ocp-p01/kustomization.yaml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,11 @@ kind: Kustomization
44
resources:
55
- ../../base
66
- ../base
7-
- https://github.com/kubearchive/kubearchive/releases/download/v1.0.1/kubearchive.yaml?timeout=90
7+
- https://github.com/kubearchive/kubearchive/releases/download/v1.2.0/kubearchive.yaml?timeout=90
88

99
namespace: product-kubearchive
1010

1111
patches:
12-
# We don't need the Secret as it will be created by the ExternalSecrets Operator
13-
- patch: |-
14-
$patch: delete
15-
apiVersion: v1
16-
kind: Secret
17-
metadata:
18-
name: kubearchive-database-credentials
19-
namespace: kubearchive
2012
- patch: |-
2113
apiVersion: batch/v1
2214
kind: Job
@@ -29,7 +21,15 @@ patches:
2921
- name: migration
3022
env:
3123
- name: KUBEARCHIVE_VERSION
32-
value: v1.0.1
24+
value: v1.2.0
25+
# We don't need the Secret as it will be created by the ExternalSecrets Operator
26+
- patch: |-
27+
$patch: delete
28+
apiVersion: v1
29+
kind: Secret
30+
metadata:
31+
name: kubearchive-database-credentials
32+
namespace: kubearchive
3333
- patch: |-
3434
apiVersion: external-secrets.io/v1beta1
3535
kind: ExternalSecret
@@ -88,6 +88,8 @@ patches:
8888
value: enabled
8989
- name: OTEL_EXPORTER_OTLP_ENDPOINT
9090
value: http://otel-collector:4318
91+
- name: AUTH_IMPERSONATE
92+
value: "true"
9193
securityContext:
9294
readOnlyRootFilesystem: true
9395
runAsNonRoot: true
@@ -114,11 +116,11 @@ patches:
114116
- containerPort: 8081
115117
resources:
116118
limits:
117-
cpu: 500m
118-
memory: 256Mi
119+
cpu: 100m
120+
memory: 512Mi
119121
requests:
120-
cpu: 10m
121-
memory: 256Mi
122+
cpu: 100m
123+
memory: 512Mi
122124
123125
- patch: |-
124126
apiVersion: apps/v1

0 commit comments

Comments
 (0)