Skip to content

Commit

Permalink
Merge pull request validatedpatterns#18 from mhjacks/main
Browse files Browse the repository at this point in the history
Bringing the infrastructure up to date and passing tests again
  • Loading branch information
mhjacks authored Jan 8, 2024
2 parents bc563ae + 4715fcc commit cdc7bee
Show file tree
Hide file tree
Showing 243 changed files with 31,148 additions and 11,684 deletions.
8 changes: 8 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
## December 13, 2022

* Initial release.

## January 8, 2023

* Updates to various componenets to bring them in line with other Validated Patterns
* Remove PipelineResources from pipelines
* Remove MajesticMonolith from applications that are built and deployed - it was not being used in any case
* Update applications to use latest UBI-8 instead of old 8.1/8.3 versions
* Update common
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
topicOperator: {}
userOperator: {}
kafka:
version: 3.1.0
version: 3.6.0
replicas: 3
listeners:
- name: plain
Expand All @@ -24,7 +24,7 @@ spec:
tls: true
config:
default.replication.factor: 3
inter.broker.protocol.version: '3.1'
inter.broker.protocol.version: '3.6'
min.insync.replicas: 2
offsets.topic.replication.factor: 3
transaction.state.log.min.isr: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
spec:
pipelineRef:
name: build-and-push-quarkuscoffeeshop-barista
resources:
- name: app-git
resourceRef:
name: quarkuscoffeeshop-barista-git
- name: image
resourceRef:
name: quarkuscoffeeshop-barista-image
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
spec:
pipelineRef:
name: build-and-push-quarkuscoffeeshop-counter
resources:
- name: app-git
resourceRef:
name: quarkuscoffeeshop-counter-git
- name: image
resourceRef:
name: quarkuscoffeeshop-counter-image
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
spec:
pipelineRef:
name: build-and-push-quarkuscoffeeshop-customerloyalty
resources:
- name: app-git
resourceRef:
name: quarkuscoffeeshop-customerloyalty-git
- name: image
resourceRef:
name: quarkuscoffeeshop-customerloyalty-image
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
spec:
pipelineRef:
name: build-and-push-quarkuscoffeeshop-customermocker
resources:
- name: app-git
resourceRef:
name: quarkuscoffeeshop-customermocker-git
- name: image
resourceRef:
name: quarkuscoffeeshop-customermocker-image
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
spec:
pipelineRef:
name: build-and-push-quarkuscoffeeshop-inventory
resources:
- name: app-git
resourceRef:
name: quarkuscoffeeshop-inventory-git
- name: image
resourceRef:
name: quarkuscoffeeshop-inventory-image
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
spec:
pipelineRef:
name: build-and-push-quarkuscoffeeshop-kitchen
resources:
- name: app-git
resourceRef:
name: quarkuscoffeeshop-kitchen-git
- name: image
resourceRef:
name: quarkuscoffeeshop-kitchen-image
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
spec:
pipelineRef:
name: build-and-push-quarkuscoffeeshop-web
resources:
- name: app-git
resourceRef:
name: quarkuscoffeeshop-web-git
- name: image
resourceRef:
name: quarkuscoffeeshop-web-image
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
spec:
refreshInterval: 15s
secretStoreRef:
name: {{ .Values.secretStore.name }}
kind: {{ .Values.secretStore.kind }}
name: {{ .Values.global.secretStore.name }}
kind: {{ .Values.global.secretStore.kind }}
target:
name: quay-auth-secret
template:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: tekton.dev/v1alpha1
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: build-and-push-quarkuscoffeeshop-barista
Expand All @@ -25,11 +25,6 @@ spec:
name: webhook-secret
type: string
{{ end }}
resources:
- name: app-git
type: git
- name: image
type: image
tasks:
- name: fetch-repository
params:
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ kind: Task
metadata:
name: push-quarkuscoffeeshop-barista-image-to-quay
spec:
resources:
inputs:
- name: image
type: image
params:
- default: quarkuscoffeeshop
description: >-
Expand Down Expand Up @@ -35,7 +31,6 @@ spec:
docker://image-registry.openshift-image-registry.svc:5000/quarkuscoffeeshop-cicd/quarkuscoffeeshop-barista:$(inputs.params.quay-io-image-tag-name)
image: registry.redhat.io/rhel8/podman
name: podman-pull-image
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand All @@ -50,7 +45,6 @@ spec:
- '$(params.quay-io-repository):$(params.quay-io-image-tag-name)'
image: registry.redhat.io/rhel8/buildah
name: buildah-tag-image
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand All @@ -62,7 +56,6 @@ spec:
- '--storage-driver=$(params.STORAGE_DRIVER)'
image: registry.redhat.io/rhel8/buildah
name: buildah-list-images-after-tagging
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand All @@ -79,7 +72,6 @@ spec:
$(params.quay-io-repository):$(params.quay-io-image-tag-name)
image: registry.redhat.io/rhel8/buildah
name: push-quarkuscoffeeshop-barista-image-to-quay
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: tekton.dev/v1alpha1
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: build-and-push-quarkuscoffeeshop-counter
Expand All @@ -25,11 +25,6 @@ spec:
name: webhook-secret
type: string
{{ end }}
resources:
- name: app-git
type: git
- name: image
type: image
tasks:
- name: fetch-repository
params:
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ kind: Task
metadata:
name: push-quarkuscoffeeshop-counter-image-to-quay
spec:
resources:
inputs:
- name: image
type: image
params:
- default: quarkuscoffeeshop
description: >-
Expand Down Expand Up @@ -35,7 +31,6 @@ spec:
docker://image-registry.openshift-image-registry.svc:5000/quarkuscoffeeshop-cicd/quarkuscoffeeshop-counter:$(inputs.params.quay-io-image-tag-name)
image: registry.redhat.io/rhel8/podman
name: podman-pull-image
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand All @@ -50,7 +45,6 @@ spec:
- '$(params.quay-io-repository):$(params.quay-io-image-tag-name)'
image: registry.redhat.io/rhel8/buildah
name: buildah-tag-image
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand All @@ -62,7 +56,6 @@ spec:
- '--storage-driver=$(params.STORAGE_DRIVER)'
image: registry.redhat.io/rhel8/buildah
name: buildah-list-images-after-tagging
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand All @@ -79,7 +72,6 @@ spec:
$(params.quay-io-repository):$(params.quay-io-image-tag-name)
image: registry.redhat.io/rhel8/buildah
name: push-quarkuscoffeeshop-counter-image-to-quay
resources: {}
securityContext:
privileged: true
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: tekton.dev/v1alpha1
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: build-and-push-quarkuscoffeeshop-customerloyalty
Expand All @@ -25,11 +25,6 @@ spec:
name: webhook-secret
type: string
{{ end }}
resources:
- name: app-git
type: git
- name: image
type: image
tasks:
- name: fetch-repository
params:
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit cdc7bee

Please sign in to comment.