You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/contribute/extending-a-pattern.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,25 @@ aliases: /extending-a-pattern/
8
8
# Extending an existing pattern
9
9
10
10
## Introduction to extending a pattern using a fork
11
-
Extending an existing pattern usually means adding a new product and/or configuration to the existing pattern. This usually requires four steps:
11
+
Extending an existing pattern refers to adding a new product and/or configuration to an existing pattern. For example a pattern might be a great fit for a solution but requires the addition of an observability tool, e.g. Prometheus, Grafana, or Elastic. Or perhaps it needs multicloud communication using Skupper. Extending an existing pattern is not very difficult. The advantage is that it automates the integration of this extra product into pattern.
12
+
13
+
Extending usually requires four steps:
12
14
1. Adding any required namespace for the product
13
15
1. Adding a subscription to install and operator
14
16
1. Adding one or more ArgoCD applications to manage the post-install configuration of the product
15
17
1. Adding the Helm chart needed to implement the post-install configuration identified in step 3.
16
18
17
-
Sometimes there is no operator in operator hub for the product and it requires installing the product using a Helm chart.
19
+
Sometimes there is no operator in [OperatorHub](https://catalog.redhat.com/software/search?deployed_as=Operator)for the product and it requires installation using a Helm chart.
18
20
19
-
This additions need to be made to the appropriate `values-<cluster grouping>.yaml` file in the top level pattern directory. If the component is on a hub cluster that would be `values-hub.yaml`. If it's on a production cluster that would be in `values-production.yaml`. Look at the pattern architecture and decide where you need to add the product.
21
+
These additions need to be made to the appropriate `values-<cluster grouping>.yaml` file in the top level pattern directory. If the component is on a hub cluster the file would be `values-hub.yaml`. If it's on a production cluster that would be in `values-production.yaml`. Look at the pattern architecture and decide where you need to add the product.
20
22
21
23
In the example below AMQ Streams (Kafka) is chosen as a product to add to a pattern.
22
24
23
25
## Before starting, fork and clone first
24
26
25
27
1. Visit the github page for the pattern that you wish to extend. E.g. [multicloud-gitops](https://github.com/hybrid-cloud-patterns/multicloud-gitops). Select “Fork” in the top right corner.
26
28
27
-
1. On the create a new fork page. You can choose what owner repository you want and the name of the fork. Most times you will fork into your personal repo and leave the name the same. When you have made the appropriate changes press the "Create fork" button.
29
+
1. On the create a new fork page, you can choose what owner repository you want and the name of the fork. Most times you will fork into your personal repo and leave the name the same. When you have made the appropriate changes press the "Create fork" button.
28
30
29
31
1. You will need to clone from the new fork onto you laptop/desktop so that you can do the extension work effectively. So on the new fork’s main page elect the green “Code” button and copy the git repo’s ssh address.
0 commit comments