Skip to content

Commit 690b95b

Browse files
committed
Merge branch 'dev' into main
2 parents 6b0e544 + ab2f1a1 commit 690b95b

File tree

7 files changed

+35
-8
lines changed

7 files changed

+35
-8
lines changed

chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 1.1.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.0.1"
24+
appVersion: "1.1.0"

chart/dev-values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
image:
2+
pullPolicy: Always
3+
tag: "dev"

chart/templates/crd.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@ spec:
3535
type: string
3636
jsonPath: .spec.object.name
3737
description: Latest jar file that was tried to be installed.
38+
- name: Bucket path
39+
type: string
40+
jsonPath: .spec.bucket.url_sufix
41+
description: Bucket folder where the jar will be downloaded from.
42+
- name: Bucket URL
43+
type: string
44+
jsonPath: .spec.bucket.url
45+
description: Bucket URL where the jar will be downloaded from.
3846
- name: Status
3947
type: string
40-
jsonPath: .status.xp_app_handler/spec
48+
jsonPath: .status.xp_app_handler
4149
description: Jar latest installation status

manifests/dev/crd.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@ spec:
3535
type: string
3636
jsonPath: .spec.object.name
3737
description: Latest jar file that was tried to be installed.
38+
- name: Bucket path
39+
type: string
40+
jsonPath: .spec.bucket.url_sufix
41+
description: Bucket folder where the jar will be downloaded from.
42+
- name: Bucket URL
43+
type: string
44+
jsonPath: .spec.bucket.url
45+
description: Bucket URL where the jar will be downloaded from.
3846
- name: Status
3947
type: string
40-
jsonPath: .status.xp_app_handler/spec
48+
jsonPath: .status.xp_app_handler
4149
description: Jar latest installation status

manifests/manifest.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,17 @@ spec:
107107
type: string
108108
jsonPath: .spec.object.name
109109
description: Latest jar file that was tried to be installed.
110+
- name: Bucket path
111+
type: string
112+
jsonPath: .spec.bucket.url_sufix
113+
description: Bucket folder where the jar will be downloaded from.
114+
- name: Bucket URL
115+
type: string
116+
jsonPath: .spec.bucket.url
117+
description: Bucket URL where the jar will be downloaded from.
110118
- name: Status
111119
type: string
112-
jsonPath: .status.xp_app_handler/spec
120+
jsonPath: .status.xp_app_handler
113121
description: Jar latest installation status
114122

115123
---

push_dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
docker build . -f Dockerfile -t daviptrs/enonic-operator-k8s:dev --build-arg VERSION_TAG=dev
44
docker push daviptrs/enonic-operator-k8s:dev
55

6-
kubectl rollout restart deployment enonic-op-dev
6+
kubectl rollout restart deployment enonic-operator

src/init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def installed_xp_app_handler(name, namespace, logger, new, **kwargs):
4040
reason="Logging",
4141
message=f"{obj_name} installed successfully.",
4242
)
43-
parent.patch({"status": {"xp_app_handler/spec": "Success"}})
43+
parent.patch({"status": {"xp_app_handler": "Success"}})
4444
job = pk.Job.objects(api, namespace=namespace).get_by_name(name)
4545
job.delete(propagation_policy="Foreground")
4646
else:
@@ -52,7 +52,7 @@ def installed_xp_app_handler(name, namespace, logger, new, **kwargs):
5252
reason="Logging",
5353
message=f"{obj_name} could not be installed.",
5454
)
55-
parent.patch({"status": {"xp_app_handler/spec": "Failure"}})
55+
parent.patch({"status": {"xp_app_handler": "Failure"}})
5656
logger.error(f"{namespace}/{name} job is failing. Check the logs!")
5757
api.session.close()
5858

0 commit comments

Comments
 (0)