-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #533 from t-fine/master
Updating nginx-operator example service
- Loading branch information
Showing
10 changed files
with
54 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
edge/services/nginx-operator/ansible-role-files/main-route.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
# tasks file for nginx operator | ||
|
||
- name: Create the Operator Deployment | ||
k8s: | ||
state: present | ||
definition: "{{lookup('template', 'deployment.j2') | from_yaml}}" | ||
|
||
- name: Create the Operator Service | ||
k8s: | ||
state: present | ||
definition: "{{lookup('template', 'service.j2') | from_yaml}}" | ||
|
||
- name: Create the Operator Route | ||
k8s: | ||
state: present | ||
definition: "{{lookup('template', 'route.j2') | from_yaml}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: v1 | ||
apiVersion: route.openshift.io/v1 | ||
kind: Route | ||
metadata: | ||
name: nginx-route | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"HZN_ORG_ID": "IBM", | ||
"MetadataVars": { | ||
"DOCKER_IMAGE_BASE": "", | ||
"SERVICE_NAME": "nginx-operator", | ||
"SERVICE_VERSION": "1.0.0" | ||
"DOCKER_IMAGE_BASE": "openhorizon/ibm.nginx-operator", | ||
"SERVICE_NAME": "ibm.nginx-operator", | ||
"SERVICE_VERSION": "1.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.