-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[issue-368] knative integration with DataIndex and JobService: fix e2…
…e test errors and use temp images for DI and JS [issue-368] knative integration with DataIndex and JobService: fix e2e test errors and use temp images for DI and JS [issue-368] knative integration with DataIndex and JobService: fix e2e test errors and use temp images for DI and JS [issue-368] knative integration with DataIndex and JobService: fix e2e test errors and use temp images for DI and JS [issue-368] knative integration with DataIndex and JobService: fix e2e test errors and use temp images for DI and JS [issue-368] knative integration with DataIndex and JobService: fix e2e test errors and use temp images for DI and JS [issue-368] knative integration with DataIndex and JobService: fix e2e test errors and use temp images for DI and JS [issue-368] knative integration with DataIndex and JobService: fix e2e test errors and use temp images for DI and JS
- Loading branch information
1 parent
6bc17ba
commit 1946ca7
Showing
21 changed files
with
450 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 86 additions & 0 deletions
86
test/testdata/platform/services/preview/knative/service-level-broker/01-postgres.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Copyright 2024 Apache Software Foundation (ASF) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: postgres | ||
name: postgres-pvc | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: postgres | ||
name: postgres | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: postgres | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: postgres | ||
spec: | ||
containers: | ||
- name: postgres | ||
image: postgres:13.2-alpine | ||
imagePullPolicy: 'IfNotPresent' | ||
ports: | ||
- containerPort: 5432 | ||
volumeMounts: | ||
- name: storage | ||
mountPath: /var/lib/postgresql/data | ||
envFrom: | ||
- secretRef: | ||
name: postgres-secrets | ||
readinessProbe: | ||
exec: | ||
command: ["pg_isready"] | ||
initialDelaySeconds: 15 | ||
timeoutSeconds: 2 | ||
livenessProbe: | ||
exec: | ||
command: ["pg_isready"] | ||
initialDelaySeconds: 15 | ||
timeoutSeconds: 2 | ||
resources: | ||
limits: | ||
memory: "256Mi" | ||
cpu: "500m" | ||
volumes: | ||
- name: storage | ||
persistentVolumeClaim: | ||
claimName: postgres-pvc | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: postgres | ||
name: postgres | ||
spec: | ||
selector: | ||
app.kubernetes.io/name: postgres | ||
ports: | ||
- port: 5432 |
Oops, something went wrong.