-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/deseng766: Added old and new deployment YAMLs to openshift fo…
…lder for test environment.
- Loading branch information
1 parent
d6de08d
commit 9400e9c
Showing
3 changed files
with
281 additions
and
1 deletion.
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
231 changes: 231 additions & 0 deletions
231
openshift/templates/lup-admin/lup-admin-test-deployment-old.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,231 @@ | ||
kind: DeploymentConfig | ||
apiVersion: apps.openshift.io/v1 | ||
metadata: | ||
name: landuseplanning-admin-test | ||
namespace: e8b9ad-test | ||
uid: 7c03f1dd-fda4-45a9-a648-5300a221ea43 | ||
resourceVersion: '13139094975' | ||
generation: 17 | ||
creationTimestamp: '2021-03-15T17:48:09Z' | ||
labels: | ||
app: landuseplanning-admin-test | ||
app.kubernetes.io/component: landuseplanning-admin-test | ||
app.kubernetes.io/instance: landuseplanning-admin-test | ||
app.kubernetes.io/part-of: landuseplanning-admin-test | ||
managedFields: | ||
- manager: Mozilla | ||
operation: Update | ||
apiVersion: apps.openshift.io/v1 | ||
time: '2021-03-25T21:17:37Z' | ||
fieldsType: FieldsV1 | ||
fieldsV1: | ||
'f:metadata': | ||
'f:labels': | ||
.: {} | ||
'f:app': {} | ||
'f:app.kubernetes.io/component': {} | ||
'f:app.kubernetes.io/instance': {} | ||
'f:app.kubernetes.io/part-of': {} | ||
'f:spec': | ||
'f:replicas': {} | ||
'f:selector': | ||
.: {} | ||
'f:app': {} | ||
'f:strategy': | ||
'f:activeDeadlineSeconds': {} | ||
'f:rollingParams': | ||
.: {} | ||
'f:intervalSeconds': {} | ||
'f:maxSurge': {} | ||
'f:maxUnavailable': {} | ||
'f:timeoutSeconds': {} | ||
'f:updatePeriodSeconds': {} | ||
'f:type': {} | ||
'f:template': | ||
.: {} | ||
'f:metadata': | ||
.: {} | ||
'f:creationTimestamp': {} | ||
'f:labels': | ||
.: {} | ||
'f:app': {} | ||
'f:spec': | ||
.: {} | ||
'f:containers': | ||
.: {} | ||
'k:{"name":"landuseplanning-admin-test"}': | ||
.: {} | ||
'f:env': | ||
.: {} | ||
'k:{"name":"API_URL"}': | ||
.: {} | ||
'f:name': {} | ||
'f:value': {} | ||
'k:{"name":"DEPLOYMENT_ENVIRONMENT"}': | ||
.: {} | ||
'f:name': {} | ||
'f:value': {} | ||
'k:{"name":"REMOTE_API_PATH"}': | ||
.: {} | ||
'f:name': {} | ||
'f:value': {} | ||
'k:{"name":"REMOTE_PUBLIC_PATH"}': | ||
.: {} | ||
'f:name': {} | ||
'f:value': {} | ||
'f:imagePullPolicy': {} | ||
'f:name': {} | ||
'f:ports': | ||
.: {} | ||
'k:{"containerPort":8080,"protocol":"TCP"}': | ||
.: {} | ||
'f:containerPort': {} | ||
'f:protocol': {} | ||
'f:resources': {} | ||
'f:terminationMessagePath': {} | ||
'f:terminationMessagePolicy': {} | ||
'f:dnsPolicy': {} | ||
'f:restartPolicy': {} | ||
'f:schedulerName': {} | ||
'f:securityContext': {} | ||
'f:terminationGracePeriodSeconds': {} | ||
- manager: openshift-controller-manager | ||
operation: Update | ||
apiVersion: apps.openshift.io/v1 | ||
time: '2024-04-26T20:43:52Z' | ||
fieldsType: FieldsV1 | ||
fieldsV1: | ||
'f:spec': | ||
'f:template': | ||
'f:spec': | ||
'f:containers': | ||
'k:{"name":"landuseplanning-admin-test"}': | ||
'f:image': {} | ||
'f:triggers': {} | ||
'f:status': | ||
'f:conditions': | ||
.: {} | ||
'k:{"type":"Available"}': | ||
.: {} | ||
'f:type': {} | ||
'k:{"type":"Progressing"}': | ||
.: {} | ||
'f:type': {} | ||
'f:details': | ||
.: {} | ||
'f:message': {} | ||
- manager: openshift-controller-manager | ||
operation: Update | ||
apiVersion: apps.openshift.io/v1 | ||
time: '2025-02-05T05:21:55Z' | ||
fieldsType: FieldsV1 | ||
fieldsV1: | ||
'f:status': | ||
'f:updatedReplicas': {} | ||
'f:readyReplicas': {} | ||
'f:conditions': | ||
'k:{"type":"Available"}': | ||
'f:lastTransitionTime': {} | ||
'f:lastUpdateTime': {} | ||
'f:message': {} | ||
'f:status': {} | ||
'k:{"type":"Progressing"}': | ||
'f:lastTransitionTime': {} | ||
'f:lastUpdateTime': {} | ||
'f:message': {} | ||
'f:reason': {} | ||
'f:status': {} | ||
'f:details': | ||
'f:causes': {} | ||
'f:replicas': {} | ||
'f:availableReplicas': {} | ||
'f:observedGeneration': {} | ||
'f:unavailableReplicas': {} | ||
'f:latestVersion': {} | ||
subresource: status | ||
spec: | ||
strategy: | ||
type: Rolling | ||
rollingParams: | ||
updatePeriodSeconds: 1 | ||
intervalSeconds: 1 | ||
timeoutSeconds: 600 | ||
maxUnavailable: 25% | ||
maxSurge: 25% | ||
resources: {} | ||
activeDeadlineSeconds: 21600 | ||
triggers: | ||
- type: ImageChange | ||
imageChangeParams: | ||
automatic: true | ||
containerNames: | ||
- landuseplanning-admin-test | ||
from: | ||
kind: ImageStreamTag | ||
namespace: e8b9ad-tools | ||
name: 'lup-admin-deploy-image:test' | ||
lastTriggeredImage: 'image-registry.openshift-image-registry.svc:5000/e8b9ad-tools/lup-admin-deploy-image@sha256:92a9b1cccfc35a819ed27239fbbaba957d717fb135d9951efe36e6761ded9152' | ||
- type: ConfigChange | ||
replicas: 3 | ||
revisionHistoryLimit: 10 | ||
test: false | ||
selector: | ||
app: landuseplanning-admin-test | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: landuseplanning-admin-test | ||
spec: | ||
containers: | ||
- name: landuseplanning-admin-test | ||
image: 'image-registry.openshift-image-registry.svc:5000/e8b9ad-tools/lup-admin-deploy-image@sha256:92a9b1cccfc35a819ed27239fbbaba957d717fb135d9951efe36e6761ded9152' | ||
ports: | ||
- containerPort: 8080 | ||
protocol: TCP | ||
env: | ||
- name: REMOTE_API_PATH | ||
value: 'https://landuseplanning-test.apps.silver.devops.gov.bc.ca/api' | ||
- name: REMOTE_PUBLIC_PATH | ||
value: 'https://landuseplanning-test.apps.silver.devops.gov.bc.ca/' | ||
- name: DEPLOYMENT_ENVIRONMENT | ||
value: test | ||
- name: API_URL | ||
value: 'https://landuseplanning-test.apps.silver.devops.gov.bc.ca/api' | ||
resources: {} | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
imagePullPolicy: Always | ||
restartPolicy: Always | ||
terminationGracePeriodSeconds: 30 | ||
dnsPolicy: ClusterFirst | ||
securityContext: {} | ||
schedulerName: default-scheduler | ||
status: | ||
observedGeneration: 17 | ||
details: | ||
message: image change | ||
causes: | ||
- type: ImageChange | ||
imageTrigger: | ||
from: | ||
kind: DockerImage | ||
name: 'image-registry.openshift-image-registry.svc:5000/e8b9ad-tools/lup-admin-deploy-image@sha256:92a9b1cccfc35a819ed27239fbbaba957d717fb135d9951efe36e6761ded9152' | ||
availableReplicas: 3 | ||
unavailableReplicas: 0 | ||
latestVersion: 16 | ||
updatedReplicas: 3 | ||
conditions: | ||
- type: Progressing | ||
status: 'True' | ||
lastUpdateTime: '2024-04-26T20:44:28Z' | ||
lastTransitionTime: '2024-04-26T20:44:23Z' | ||
reason: NewReplicationControllerAvailable | ||
message: replication controller "landuseplanning-admin-test-16" successfully rolled out | ||
- type: Available | ||
status: 'True' | ||
lastUpdateTime: '2025-02-05T05:21:54Z' | ||
lastTransitionTime: '2025-02-05T05:21:54Z' | ||
message: Deployment config has minimum availability. | ||
replicas: 3 | ||
readyReplicas: 3 |
48 changes: 48 additions & 0 deletions
48
openshift/templates/lup-admin/lup-admin-test-deployment.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,48 @@ | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: landuseplanning-admin-test | ||
namespace: e8b9ad-test | ||
labels: | ||
app: landuseplanning-admin-test | ||
app.kubernetes.io/component: landuseplanning-admin-test | ||
app.kubernetes.io/instance: landuseplanning-admin-test | ||
app.kubernetes.io/part-of: landuseplanning-admin-test | ||
spec: | ||
strategy: | ||
type: RollingUpdate | ||
replicas: 3 | ||
revisionHistoryLimit: 10 | ||
selector: | ||
matchLabels: | ||
app: landuseplanning-admin-test | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: landuseplanning-admin-test | ||
spec: | ||
containers: | ||
- name: landuseplanning-admin-test | ||
image: image-registry.apps.silver.devops.gov.bc.ca/e8b9ad-tools/lup-admin-deploy-image | ||
ports: | ||
- containerPort: 8080 | ||
protocol: TCP | ||
env: | ||
- name: REMOTE_API_PATH | ||
value: 'https://landuseplanning-test.apps.silver.devops.gov.bc.ca/api' | ||
- name: REMOTE_PUBLIC_PATH | ||
value: 'https://landuseplanning-test.apps.silver.devops.gov.bc.ca/' | ||
- name: DEPLOYMENT_ENVIRONMENT | ||
value: test | ||
- name: API_URL | ||
value: 'https://landuseplanning-test.apps.silver.devops.gov.bc.ca/api' | ||
resources: {} | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
imagePullPolicy: Always | ||
restartPolicy: Always | ||
terminationGracePeriodSeconds: 30 | ||
dnsPolicy: ClusterFirst | ||
securityContext: {} | ||
schedulerName: default-scheduler |