Skip to content

Commit

Permalink
fix template errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Li committed Jan 22, 2020
1 parent ae4397c commit 056e6a9
Show file tree
Hide file tree
Showing 10 changed files with 198 additions and 54 deletions.
36 changes: 27 additions & 9 deletions pkg/3scale/amp/auto-generated-templates/amp/amp-eval-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,9 @@ objects:
route_endpoint: https://backend-${TENANT_NAME}.${WILDCARD_DOMAIN}
service_endpoint: http://backend-listener:3000
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -1178,7 +1180,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -1195,7 +1199,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -3679,7 +3685,9 @@ objects:
stringData:
SERVERS: system-memcache:11211
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -3696,7 +3704,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -4134,7 +4144,9 @@ objects:
ZYNC_AUTHENTICATION_TOKEN: ${ZYNC_AUTHENTICATION_TOKEN}
ZYNC_DATABASE_PASSWORD: ${ZYNC_DATABASE_PASSWORD}
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -4150,7 +4162,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -4461,7 +4475,9 @@ objects:
app: ${APP_LABEL}
threescale_component: apicast
name: apicast-environment
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -4478,7 +4494,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down
36 changes: 27 additions & 9 deletions pkg/3scale/amp/auto-generated-templates/amp/amp-eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,9 @@ objects:
route_endpoint: https://backend-${TENANT_NAME}.${WILDCARD_DOMAIN}
service_endpoint: http://backend-listener:3000
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -1177,7 +1179,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -1194,7 +1198,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -3497,7 +3503,9 @@ objects:
stringData:
SERVERS: system-memcache:11211
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -3514,7 +3522,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -3952,7 +3962,9 @@ objects:
ZYNC_AUTHENTICATION_TOKEN: ${ZYNC_AUTHENTICATION_TOKEN}
ZYNC_DATABASE_PASSWORD: ${ZYNC_DATABASE_PASSWORD}
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -3968,7 +3980,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -4279,7 +4293,9 @@ objects:
app: ${APP_LABEL}
threescale_component: apicast
name: apicast-environment
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -4296,7 +4312,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down
36 changes: 27 additions & 9 deletions pkg/3scale/amp/auto-generated-templates/amp/amp-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,9 @@ objects:
route_endpoint: https://backend-${TENANT_NAME}.${WILDCARD_DOMAIN}
service_endpoint: http://backend-listener:3000
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -786,7 +788,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -803,7 +807,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -2956,7 +2962,9 @@ objects:
stringData:
SERVERS: system-memcache:11211
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -2973,7 +2981,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -3429,7 +3439,9 @@ objects:
ZYNC_AUTHENTICATION_TOKEN: ${ZYNC_AUTHENTICATION_TOKEN}
ZYNC_DATABASE_PASSWORD: ${ZYNC_DATABASE_PASSWORD}
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -3445,7 +3457,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -3768,7 +3782,9 @@ objects:
app: ${APP_LABEL}
threescale_component: apicast
name: apicast-environment
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -3785,7 +3801,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down
36 changes: 27 additions & 9 deletions pkg/3scale/amp/auto-generated-templates/amp/amp-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,9 @@ objects:
route_endpoint: https://backend-${TENANT_NAME}.${WILDCARD_DOMAIN}
service_endpoint: http://backend-listener:3000
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -1207,7 +1209,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -1224,7 +1228,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -3519,7 +3525,9 @@ objects:
stringData:
SERVERS: system-memcache:11211
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -3536,7 +3544,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -3992,7 +4002,9 @@ objects:
ZYNC_AUTHENTICATION_TOKEN: ${ZYNC_AUTHENTICATION_TOKEN}
ZYNC_DATABASE_PASSWORD: ${ZYNC_DATABASE_PASSWORD}
type: Opaque
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -4008,7 +4020,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down Expand Up @@ -4331,7 +4345,9 @@ objects:
app: ${APP_LABEL}
threescale_component: apicast
name: apicast-environment
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand All @@ -4348,7 +4364,9 @@ objects:
desiredHealthy: 0
disruptionsAllowed: 0
expectedPods: 0
- metadata:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
Expand Down
Loading

0 comments on commit 056e6a9

Please sign in to comment.