Skip to content

Commit

Permalink
chore: move images to kustomization yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
valosnah committed Jun 29, 2023
1 parent 1930893 commit a75635f
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 9 deletions.
2 changes: 1 addition & 1 deletion deploy/demo/deployment-fdk-concept-event-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-demo
key: FDK_REASONING_SERVICE_URI
name: fdk-concept-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-concept-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-concept-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-demo
key: FDK_REASONING_SERVICE_URI
name: fdk-data-service-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-data-service-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-data-service-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/deployment-fdk-dataset-event-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-demo
key: FDK_REASONING_SERVICE_URI
name: fdk-dataset-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-dataset-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-dataset-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
10 changes: 10 additions & 0 deletions deploy/demo/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ resources:
- deployment-fdk-data-service-event-publisher.yaml
- deployment-fdk-concept-event-publisher.yaml
- ../base
images:
- name: fdk-dataset-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-dataset-event-publisher
newTag: $(GIT_COMMIT_SHA)
- name: fdk-data-service-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-data-service-event-publisher
newTag: $(GIT_COMMIT_SHA)
- name: fdk-concept-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-concept-event-publisher
newTag: $(GIT_COMMIT_SHA)
2 changes: 1 addition & 1 deletion deploy/prod/deployment-fdk-concept-event-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-prod
key: FDK_REASONING_SERVICE_URI
name: fdk-concept-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-concept-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-concept-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-prod
key: FDK_REASONING_SERVICE_URI
name: fdk-data-service-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-data-service-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-data-service-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion deploy/prod/deployment-fdk-dataset-event-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-prod
key: FDK_REASONING_SERVICE_URI
name: fdk-dataset-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-dataset-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-dataset-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
10 changes: 10 additions & 0 deletions deploy/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ resources:
- deployment-fdk-data-service-event-publisher.yaml
- deployment-fdk-concept-event-publisher.yaml
- ../base
images:
- name: fdk-dataset-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-dataset-event-publisher
newTag: $(GIT_COMMIT_SHA)
- name: fdk-data-service-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-data-service-event-publisher
newTag: $(GIT_COMMIT_SHA)
- name: fdk-concept-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-concept-event-publisher
newTag: $(GIT_COMMIT_SHA)
2 changes: 1 addition & 1 deletion deploy/staging/deployment-fdk-concept-event-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-staging
key: FDK_REASONING_SERVICE_URI
name: fdk-concept-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-concept-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-concept-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-staging
key: FDK_REASONING_SERVICE_URI
name: fdk-data-service-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-data-service-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-data-service-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion deploy/staging/deployment-fdk-dataset-event-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
name: commonurl-staging
key: FDK_REASONING_SERVICE_URI
name: fdk-dataset-event-publisher
image: eu.gcr.io/digdir-fdk-infra/fdk-dataset-event-publisher:$(GIT_COMMIT_SHA)
image: fdk-dataset-event-publisher
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
10 changes: 10 additions & 0 deletions deploy/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ resources:
- deployment-fdk-data-service-event-publisher.yaml
- deployment-fdk-concept-event-publisher.yaml
- ../base
images:
- name: fdk-dataset-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-dataset-event-publisher
newTag: $(GIT_COMMIT_SHA)
- name: fdk-data-service-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-data-service-event-publisher
newTag: $(GIT_COMMIT_SHA)
- name: fdk-concept-event-publisher
newName: eu.gcr.io/digdir-fdk-infra/fdk-concept-event-publisher
newTag: $(GIT_COMMIT_SHA)

0 comments on commit a75635f

Please sign in to comment.