Skip to content

Commit

Permalink
fix: app/deploymentconfig name
Browse files Browse the repository at this point in the history
  • Loading branch information
trev-dev committed Oct 23, 2024
1 parent 3487741 commit 8f96c74
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/openshift/d365api.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ objects:
replicas: ${{MIN_REPLICAS}}
selector:
app: "${APP_NAME}-${BRANCH}"
deploymentconfig: "${APP_NAME}-d365api-${APP_ENVIRONMENT}-${BRANCH}"
deploymentconfig: "${APP_NAME}-d365api-${APP_ENVIRONMENT}"
strategy:
resources: {}
type: Rolling
Expand All @@ -30,7 +30,7 @@ objects:
creationTimestamp:
labels:
app: "${APP_NAME}-${BRANCH}"
deploymentconfig: "${APP_NAME}-d365api-${APP_ENVIRONMENT}-${BRANCH}"
deploymentconfig: "${APP_NAME}-d365api-${APP_ENVIRONMENT}"
spec:
containers:
- image: image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/${REPO_NAME}-d365api-${BRANCH}:${TAG}
Expand All @@ -54,7 +54,7 @@ objects:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: "${APP_NAME}-d365api-${APP_ENVIRONMENT}-${BRANCH}"
name: "${APP_NAME}-d365api-${APP_ENVIRONMENT}"
ports:
- containerPort: 5091
protocol: TCP
Expand Down Expand Up @@ -98,7 +98,7 @@ objects:
creationTimestamp:
labels:
app: "${APP_NAME}-${BRANCH}"
name: "${APP_NAME}-d365api-${APP_ENVIRONMENT}-${BRANCH}"
name: "${APP_NAME}-d365api-${APP_ENVIRONMENT}"
spec:
ports:
- name: 5091-tcp
Expand All @@ -111,7 +111,7 @@ objects:
targetPort: 443
selector:
app: "${APP_NAME}-${BRANCH}"
deploymentconfig: "${APP_NAME}-d365api-${APP_ENVIRONMENT}-${BRANCH}"
deploymentconfig: "${APP_NAME}-d365api-${APP_ENVIRONMENT}"
- apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
Expand All @@ -120,7 +120,7 @@ objects:
scaleTargetRef:
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
name: "${APP_NAME}-d365api-${APP_ENVIRONMENT}-${BRANCH}"
name: "${APP_NAME}-d365api-${APP_ENVIRONMENT}"
subresource: scale
minReplicas: ${{MIN_REPLICAS}}
maxReplicas: ${{MAX_REPLICAS}}
Expand Down

0 comments on commit 8f96c74

Please sign in to comment.