Skip to content

Commit c87ee3f

Browse files
authored
Merge pull request #621 from dminnear-rh/fix-patternizer-instructions
fix instructions for init and upgrade with patternizer
2 parents 31d2366 + 419012d commit c87ee3f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

content/blog/2025-07-24-introducing-patternizer.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Navigate to your repository's root and run the Patternizer container, mounting y
4444
+
4545
[source,bash]
4646
----
47-
podman run -v "$PWD:/repo:z" quay.io/hybridcloudpatterns/patternizer init
47+
podman run --pull=newer -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init
4848
----
4949
+
5050
This single command scans your repository for Helm charts and generates all the necessary files to turn it into a Validated Pattern.
@@ -88,7 +88,7 @@ Run the `init` command with the `--with-secrets` flag:
8888

8989
[source,bash]
9090
----
91-
podman run -v "$PWD:/repo:z" quay.io/hybridcloudpatterns/patternizer init --with-secrets
91+
podman run --pull=newer -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init --with-secrets
9292
----
9393

9494
This command updates your configuration to integrate with External Secrets Operator (ESO) and Vault. It generates a `values-secret.yaml.template` for defining your secrets and automatically adds the required operator subscriptions to your pattern.

content/blog/2025-08-29-new-common-makefile-structure.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ Adopting the new approach is straightforward whether you're bootstrapping a bran
6767
+
6868
[source,bash]
6969
----
70-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer init
70+
podman run --pull=newer -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init
7171
----
7272
+
7373
Add secrets scaffolding at any time with:
7474
+
7575
[source,bash]
7676
----
77-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer init --with-secrets
77+
podman run --pull=newer -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init --with-secrets
7878
----
7979
. Review the changes (`values-*.yaml`, `pattern.sh`, `Makefile`, `Makefile-common`), then commit.
8080
. Try it out:
@@ -95,7 +95,7 @@ Move from the legacy `common` structure to the new Makefile-driven setup with a
9595

9696
[source,bash]
9797
----
98-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer upgrade
98+
podman run --pull=newer -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer upgrade
9999
----
100100

101101
What this does:
@@ -111,7 +111,7 @@ If you prefer to fully replace your `Makefile` with the default version, run:
111111

112112
[source,bash]
113113
----
114-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer upgrade --replace-makefile
114+
podman run --pull=newer -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer upgrade --replace-makefile
115115
----
116116

117117
After upgrading, commit the changes and use the targets described below (for example, `./pattern.sh make show` or `./pattern.sh make install`).
@@ -341,7 +341,7 @@ Ready to try it? Run:
341341

342342
[source,bash]
343343
----
344-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer upgrade
344+
podman run --pull=newer -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer upgrade
345345
----
346346

347347
and commit the changes. Your repo will instantly be on the new path.

0 commit comments

Comments
 (0)