Skip to content

Commit 9145dc0

Browse files
ipbabblembaldessari
authored andcommitted
Update extending-a-pattern.md
1 parent a7aad53 commit 9145dc0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/contribute/extending-a-pattern.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,25 @@ aliases: /extending-a-pattern/
88
# Extending an existing pattern
99

1010
## 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:
1214
1. Adding any required namespace for the product
1315
1. Adding a subscription to install and operator
1416
1. Adding one or more ArgoCD applications to manage the post-install configuration of the product
1517
1. Adding the Helm chart needed to implement the post-install configuration identified in step 3.
1618

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.
1820

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.
2022

2123
In the example below AMQ Streams (Kafka) is chosen as a product to add to a pattern.
2224

2325
## Before starting, fork and clone first
2426

2527
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.
2628

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.
2830

2931
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.
3032

0 commit comments

Comments
 (0)