Skip to content

Commit

Permalink
Merge pull request #619 from accorvin/s3-webserver-deployment
Browse files Browse the repository at this point in the history
Switch s3-webserver from DC to deployment
  • Loading branch information
accorvin authored Jun 12, 2024
2 parents 3e9dc32 + 788ff6f commit edaaf7f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
apiVersion: apps/v1
kind: Deployment
metadata:
name: cvp-webserver
labels:
app: cvp-webserver-s3webserver
template: s3webserver
spec:
replicas: 1
selector:
matchLabels:
app: s3webserver
component: cvp-webserver-s3webserver
template:
metadata:
name: s3webserver
Expand All @@ -18,6 +22,7 @@ spec:
containers:
- name: s3webserver
imagePullPolicy: Always
image: quay.io/internaldatahub/s3-webserver:latest
resources:
limits:
cpu: 100m
Expand Down Expand Up @@ -47,13 +52,3 @@ spec:
- name: config
configMap:
name: cvp-webserver-s3webserver-config
triggers:
- type: ConfigChange
- type: ImageChange
imageChangeParams:
automatic: true
from:
kind: ImageStreamTag
name: s3webserver:latest
containerNames:
- s3webserver
13 changes: 0 additions & 13 deletions s3-webserver/base/imagestream.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions s3-webserver/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- imagestream.yaml
- service.yaml
- routes.yaml
- deploymentconfig.yaml
- deployment.yaml
- configmap.yaml

generators:
Expand Down

0 comments on commit edaaf7f

Please sign in to comment.