Skip to content

Commit 6a958da

Browse files
authored
Merge branch 'master' into zillani-mapfile-syntax-patch
2 parents a0a1289 + cfcf907 commit 6a958da

File tree

7 files changed

+42
-20
lines changed

7 files changed

+42
-20
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,25 @@ This is primarily a maintenance release with a couple of small enhancements.
156156
- Thanks to @jchanam for their work on #76
157157
- Thanks to @howardburgess for suggesting #67
158158
- Thanks to @rainsun for bringing #56 to our attention and supplying logs to help triage the issue
159+
160+
## 1.5.2
161+
162+
This is primarily a maintenance release, but does introduce new MAPS syntax.
163+
164+
The `replace` feature gives the ability to match a pattern explicitly and replace all of it with a provided pattern. [More info here](https://github.com/phenixblue/imageswap-webhook#replace-image-mapping).
165+
166+
### Enhancements
167+
168+
- Bump oauthlib from 3.2.0 to 3.2.1 in /app/imageswap-init (#79)
169+
- Add `replace` feature to maps syntax (#85)
170+
- Bump certifi from 2022.9.14 to 2022.12.7 in /app/imageswap-init (#91)
171+
- Move to `actions/setup-python@v4` in CI (#91)
172+
- Fix detection of `IMAGESWAP_DISABLE_AUTO_MWC` (#88)
173+
- Bump cryptography from 38.0.4 to 39.0.1 in /app/imageswap-init (#92)
174+
- Bump werkzeug from 2.2.2 to 2.2.3 in /app/imageswap (#93)
175+
176+
### Acknowledgements
177+
178+
- Thanks to @dependabot for keeping our Dependencies up to date!
179+
- Thanks to @M4C4R for #85
180+
- Thanks to @howardburgess for #88

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# NOTE: The version for both `imageswap-init` and `imageswap` should be identical for now.
1616
# Some effort will need to be put in to be able to distringuish changes to one vs. the other
1717
# in CI/Release steps.
18-
IMAGESWAP_VERSION := v1.5.1
19-
IMAGESWAP_INIT_VERSION := v1.5.1
18+
IMAGESWAP_VERSION := v1.5.2
19+
IMAGESWAP_INIT_VERSION := v1.5.2
2020

2121
REPO_ROOT := $(CURDIR)
2222
APP_NAME ?= "imageswap.py"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ You can use the following command to install ImageSwap from this repo with sane
8888
**NOTE:** The quickstart installation is not meant for production use. Please read through the [Cautions](#cautions) sections, and as always, use your best judgement when configuring ImageSwap for production scenarios.
8989

9090
```shell
91-
$ kubectl apply -f https://raw.githubusercontent.com/phenixblue/imageswap-webhook/v1.5.1/deploy/install.yaml
91+
$ kubectl apply -f https://raw.githubusercontent.com/phenixblue/imageswap-webhook/v1.5.2/deploy/install.yaml
9292
```
9393

9494
#### This will do the following

app/imageswap/Pipfile.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/imageswap/imageswap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def swap_image(container_spec):
426426

427427
def main():
428428

429-
app.logger.info("ImageSwap v1.5.1 Startup")
429+
app.logger.info("ImageSwap v1.5.2 Startup")
430430

431431
app.run(
432432
host="0.0.0.0",

deploy/install.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ spec:
275275
runAsGroup: 1898
276276
initContainers:
277277
- name: imageswap-init
278-
image: thewebroot/imageswap-init:v1.5.1
278+
image: thewebroot/imageswap-init:v1.5.2
279279
command: [/app/imageswap-init.py]
280280
imagePullPolicy: Always
281281
securityContext:
@@ -299,7 +299,7 @@ spec:
299299
mountPath: /mwc
300300
containers:
301301
- name: imageswap
302-
image: thewebroot/imageswap:v1.5.1
302+
image: thewebroot/imageswap:v1.5.2
303303
ports:
304304
- containerPort: 5000
305305
command: ["gunicorn", "imageswap:app", "--config=config.py"]

deploy/manifests/imageswap-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
runAsGroup: 1898
2323
initContainers:
2424
- name: imageswap-init
25-
image: thewebroot/imageswap-init:v1.5.1
25+
image: thewebroot/imageswap-init:v1.5.2
2626
command: [/app/imageswap-init.py]
2727
imagePullPolicy: Always
2828
securityContext:
@@ -46,7 +46,7 @@ spec:
4646
mountPath: /mwc
4747
containers:
4848
- name: imageswap
49-
image: thewebroot/imageswap:v1.5.1
49+
image: thewebroot/imageswap:v1.5.2
5050
ports:
5151
- containerPort: 5000
5252
command: ["gunicorn", "imageswap:app", "--config=config.py"]

0 commit comments

Comments
 (0)