forked from spring2go/staffjoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
william's mac
committed
Jul 24, 2019
1 parent
06056d6
commit 71b58a5
Showing
5 changed files
with
39 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ export const SENTRY_UAT_KEY = 'https://[email protected] | |
export const HTTP_PREFIX = 'http://'; | ||
export const HTTPS_PREFIX = 'https://'; | ||
export const DEVELOPMENT_APEX = '.staffjoy-v2.local'; | ||
export const UAT_APEX = '.staffjoy-uat.xyz'; | ||
export const PRODUCTION_APEX = '.staffjoy.xyz'; | ||
export const UAT_APEX = '.staffjoy-uat.local'; | ||
export const PRODUCTION_APEX = '.staffjoy.com'; | ||
|
||
const DEFAULT_REFETCH_INTERVAL = 10; | ||
|
||
|
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,30 @@ | ||
# https://matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-apiversion-definition-guide.html | ||
apiVersion: extensions/v1beta1 | ||
kind: Deployment | ||
metadata: | ||
name: www-web-deployment-canary | ||
spec: | ||
replicas: 1 | ||
template: | ||
metadata: | ||
labels: | ||
app: www-svc | ||
env: uat | ||
track: canary | ||
spec: | ||
containers: | ||
- name: www-svc | ||
image: boboweike/www-svc:v1.3-blue | ||
ports: | ||
- name: http-port | ||
containerPort: 80 | ||
envFrom: | ||
- configMapRef: | ||
name: common-config | ||
volumeMounts: | ||
- name: logback-config-volume | ||
mountPath: /etc/staffjoy | ||
volumes: | ||
- name: logback-config-volume | ||
configMap: | ||
name: logback-config |
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ spec: | |
labels: | ||
app: www-svc | ||
env: uat | ||
track: stable | ||
spec: | ||
containers: | ||
- name: www-svc | ||
|