Skip to content

Commit

Permalink
Update sample app and license (#587)
Browse files Browse the repository at this point in the history
* Update getting-started sample app

Signed-off-by: Leo Christy Jesuraj <leojc@ca.ibm.com>

* Update license to EPL 2.0 to match Open Liberty runtime

Signed-off-by: Leo Christy Jesuraj <leojc@ca.ibm.com>

---------

Signed-off-by: Leo Christy Jesuraj <leojc@ca.ibm.com>
  • Loading branch information
leochr authored May 24, 2024
1 parent ec29883 commit 88da401
Show file tree
Hide file tree
Showing 9 changed files with 257 additions and 183 deletions.
416 changes: 245 additions & 171 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For information on how to use the Open Liberty Operator, see the link:++doc/++[d

== License

Usage is provided under the link:++https://opensource.org/licenses/EPL-1.0++[EPL 1.0 license]. See link:++LICENSE++[LICENSE] for the full details.
Usage is provided under the link:++https://opensource.org/licenses/EPL-2.0++[EPL 2.0 license]. See link:++LICENSE++[LICENSE] for the full details.

== Contributing

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For information on how to use the Open Liberty Operator, see the [documentation]

## License

Usage is provided under the [EPL 1.0 license](https://opensource.org/licenses/EPL-1.0). See [LICENSE](LICENSE) for the full details.
Usage is provided under the [EPL 2.0 license](https://opensource.org/licenses/EPL-2.0). See [LICENSE](LICENSE) for the full details.

## Contributing

Expand Down
10 changes: 5 additions & 5 deletions bundle/manifests/open-liberty.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
"name": "openliberty-app-sample"
},
"spec": {
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac",
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e",
"expose": true,
"manageTLS": true,
"replicas": 1,
Expand Down Expand Up @@ -53,7 +53,7 @@ metadata:
"name": "openliberty-app-sample"
},
"spec": {
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac",
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e",
"expose": true,
"replicas": 1,
"service": {
Expand Down Expand Up @@ -92,7 +92,7 @@ metadata:
categories: Application Runtime
certified: "true"
containerImage: icr.io/appcafe/open-liberty-operator:daily
createdAt: "2024-05-07T18:53:56Z"
createdAt: "2024-05-24T20:35:06Z"
description: Deploy and manage containerized Liberty applications
olm.skipRange: '>=0.8.0 <1.3.2'
operators.openshift.io/infrastructure-features: '["disconnected"]'
Expand Down Expand Up @@ -1120,7 +1120,7 @@ spec:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e
- name: RELATED_IMAGE_OPEN_LIBERTY_OPERATOR
value: icr.io/appcafe/open-liberty-operator:daily
image: icr.io/appcafe/open-liberty-operator:daily
Expand Down Expand Up @@ -1423,7 +1423,7 @@ spec:
provider:
name: IBM
relatedImages:
- image: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac
- image: icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e
name: liberty-sample-app
- image: icr.io/appcafe/open-liberty-operator:daily
name: open-liberty-operator
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e
- name: RELATED_IMAGE_OPEN_LIBERTY_OPERATOR
value: OPERATOR_IMAGE
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: OpenLibertyApplication
metadata:
name: openliberty-app-sample
spec:
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e
expose: true
manageTLS: true
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: openliberty-app-sample
spec:
# Add fields here
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e
expose: true
replicas: 1
service:
Expand Down
2 changes: 1 addition & 1 deletion internal/deploy/kubectl/openliberty-app-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ spec:
- name: WATCH_NAMESPACE
value: OPEN_LIBERTY_WATCH_NAMESPACE
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e
- name: RELATED_IMAGE_OPEN_LIBERTY_OPERATOR
value: icr.io/appcafe/open-liberty-operator:daily
image: icr.io/appcafe/open-liberty-operator:daily
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b99e5af298a800a7d53217be7b33797cedb1eeadc4d5cd14c0c3aafccf21f1ac
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:fd04ce5a5870387a379b54da5c47d0338c5f4a1254611d2418f1f959d018ba7e
- name: RELATED_IMAGE_OPEN_LIBERTY_OPERATOR
value: icr.io/appcafe/open-liberty-operator:daily
image: icr.io/appcafe/open-liberty-operator:daily
Expand Down

0 comments on commit 88da401

Please sign in to comment.