Skip to content

Commit

Permalink
Merge pull request #51 from 3scale/2.7-release
Browse files Browse the repository at this point in the history
2.7 release
  • Loading branch information
miguelsorianod authored Nov 26, 2019
2 parents 7c1573d + cad7b34 commit 0ed2210
Show file tree
Hide file tree
Showing 10 changed files with 460 additions and 518 deletions.
19 changes: 18 additions & 1 deletion 3scale-image-streams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ items:
type: Local
from:
kind: ImageStreamTag
name: 2.6.0.GA
name: 2.7.0.GA

- name: 2.1.0.GA
annotations:
Expand Down Expand Up @@ -131,3 +131,20 @@ items:
from:
kind: DockerImage
name: registry.redhat.io/3scale-amp26/apicast-gateway

- name: 2.7.0.GA
annotations:
openshift.io/display-name: 3scale APIcast API Gateway 2.7.0.GA
openshift.io/provider-display-name: Red Hat, Inc.
iconClass: icon-3scale
description: >-
3scale's APIcast is an NGINX based API gateway used to integrate your internal and external
API services with 3scale's API Management Platform. It supports OpenID connect to integrate
with external Identity Providers such as Red Hat Single Sign On, for API traffic authentication.
tags: api,gateway,3scale
version: 2.7.0.GA
referencePolicy:
type: Local
from:
kind: DockerImage
name: registry.redhat.io/3scale-amp2/apicast-gateway-rhel7:3scale2.7
227 changes: 106 additions & 121 deletions amp/amp-eval-tech-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,80 +196,6 @@ objects:
type: ""
status:
dockerImageRepository: ""
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/display-name: Backend Redis
creationTimestamp: null
labels:
app: ${APP_LABEL}
threescale_component: backend
name: backend-redis
spec:
lookupPolicy:
local: false
tags:
- annotations:
openshift.io/display-name: Backend Redis (latest)
from:
kind: ImageStreamTag
name: ${AMP_RELEASE}
generation: null
importPolicy: {}
name: latest
referencePolicy:
type: ""
- annotations:
openshift.io/display-name: Backend ${AMP_RELEASE} Redis
from:
kind: DockerImage
name: ${REDIS_IMAGE}
generation: null
importPolicy:
insecure: ${{IMAGESTREAM_TAG_IMPORT_INSECURE}}
name: ${AMP_RELEASE}
referencePolicy:
type: ""
status:
dockerImageRepository: ""
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/display-name: System Redis
creationTimestamp: null
labels:
app: ${APP_LABEL}
threescale_component: system
name: system-redis
spec:
lookupPolicy:
local: false
tags:
- annotations:
openshift.io/display-name: System Redis (latest)
from:
kind: ImageStreamTag
name: ${AMP_RELEASE}
generation: null
importPolicy: {}
name: latest
referencePolicy:
type: ""
- annotations:
openshift.io/display-name: System ${AMP_RELEASE} Redis
from:
kind: DockerImage
name: ${REDIS_IMAGE}
generation: null
importPolicy:
insecure: ${{IMAGESTREAM_TAG_IMPORT_INSECURE}}
name: ${AMP_RELEASE}
referencePolicy:
type: ""
status:
dockerImageRepository: ""
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
Expand Down Expand Up @@ -527,6 +453,43 @@ objects:
requests:
storage: 1Gi
status: {}
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/display-name: Backend Redis
creationTimestamp: null
labels:
app: ${APP_LABEL}
threescale_component: backend
name: backend-redis
spec:
lookupPolicy:
local: false
tags:
- annotations:
openshift.io/display-name: Backend Redis (latest)
from:
kind: ImageStreamTag
name: ${AMP_RELEASE}
generation: null
importPolicy: {}
name: latest
referencePolicy:
type: ""
- annotations:
openshift.io/display-name: Backend ${AMP_RELEASE} Redis
from:
kind: DockerImage
name: ${REDIS_IMAGE}
generation: null
importPolicy:
insecure: ${{IMAGESTREAM_TAG_IMPORT_INSECURE}}
name: ${AMP_RELEASE}
referencePolicy:
type: ""
status:
dockerImageRepository: ""
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
Expand Down Expand Up @@ -630,6 +593,62 @@ objects:
requests:
storage: 1Gi
status: {}
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
threescale_component: system
threescale_component_element: redis
name: system-redis
spec:
ports:
- name: redis
port: 6379
protocol: TCP
targetPort: 6379
selector:
deploymentConfig: system-redis
status:
loadBalancer: {}
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/display-name: System Redis
creationTimestamp: null
labels:
app: ${APP_LABEL}
threescale_component: system
name: system-redis
spec:
lookupPolicy:
local: false
tags:
- annotations:
openshift.io/display-name: System Redis (latest)
from:
kind: ImageStreamTag
name: ${AMP_RELEASE}
generation: null
importPolicy: {}
name: latest
referencePolicy:
type: ""
- annotations:
openshift.io/display-name: System ${AMP_RELEASE} Redis
from:
kind: DockerImage
name: ${REDIS_IMAGE}
generation: null
importPolicy:
insecure: ${{IMAGESTREAM_TAG_IMPORT_INSECURE}}
name: ${AMP_RELEASE}
referencePolicy:
type: ""
status:
dockerImageRepository: ""
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
Expand Down Expand Up @@ -1478,25 +1497,6 @@ objects:
deploymentConfig: system-app
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: ${APP_LABEL}
threescale_component: system
threescale_component_element: redis
name: system-redis
spec:
ports:
- name: redis
port: 6379
protocol: TCP
targetPort: 6379
selector:
deploymentConfig: system-redis
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -1538,28 +1538,7 @@ objects:
- apiVersion: v1
data:
rolling_updates.yml: |
production:
old_charts: false
new_provider_documentation: false
proxy_pro: false
instant_bill_plan_change: false
service_permissions: true
async_apicast_deploy: false
duplicate_application_id: true
duplicate_user_key: true
plan_changes_wizard: false
require_cc_on_signup: false
apicast_per_service: true
new_notification_system: true
cms_api: false
apicast_v2: true
forum: false
published_service_plan_signup: true
apicast_oidc: true
policies: true
policy_registry: true
proxy_private_base_path: true
service_mesh_integration: true
production: {}
service_discovery.yml: |
production:
enabled: <%= cluster_token_file_exists = File.exists?(cluster_token_file_path = '/var/run/secrets/kubernetes.io/serviceaccount/token') %>
Expand Down Expand Up @@ -1661,6 +1640,8 @@ objects:
- bash
- -c
- bundle exec rake boot openshift:deploy MASTER_ACCESS_TOKEN="${MASTER_ACCESS_TOKEN}"
&& bundle exec rake services:create_backend_apis services:update_metric_owners
proxy:update_proxy_rule_owners
containerName: system-master
env:
- name: AMP_RELEASE
Expand Down Expand Up @@ -3577,10 +3558,12 @@ objects:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: amp-zync:latest
livenessProbe:
Expand Down Expand Up @@ -3704,10 +3687,12 @@ objects:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: amp-zync:latest
imagePullPolicy: Always
Expand Down Expand Up @@ -4181,7 +4166,7 @@ parameters:
- description: AMP release tag.
name: AMP_RELEASE
required: true
value: "2.6"
value: "2.7"
- description: Used for object app labels
name: APP_LABEL
required: true
Expand All @@ -4196,24 +4181,24 @@ parameters:
value: "null"
- name: AMP_BACKEND_IMAGE
required: true
value: registry.redhat.io/3scale-amp26/backend
value: registry.redhat.io/3scale-amp2/backend-rhel7:3scale2.7
- name: AMP_ZYNC_IMAGE
required: true
value: registry.redhat.io/3scale-amp26/zync
value: registry.redhat.io/3scale-amp2/zync-rhel7:3scale2.7
- name: AMP_APICAST_IMAGE
required: true
value: registry.redhat.io/3scale-amp26/apicast-gateway
value: registry.redhat.io/3scale-amp2/apicast-gateway-rhel7:3scale2.7
- name: AMP_SYSTEM_IMAGE
required: true
value: registry.redhat.io/3scale-amp26/system
value: registry.redhat.io/3scale-amp2/system-rhel7:3scale2.7
- description: Zync's PostgreSQL image to use
name: ZYNC_DATABASE_IMAGE
required: true
value: registry.redhat.io/rhscl/postgresql-10-rhel7
- description: Memcached image to use
name: MEMCACHED_IMAGE
required: true
value: registry.redhat.io/3scale-amp20/memcached
value: registry.redhat.io/3scale-amp2/memcached-rhel7:3scale2.7
- description: Set to true if the server may bypass certificate verification or connect
directly over HTTP during image import.
name: IMAGESTREAM_TAG_IMPORT_INSECURE
Expand Down
Loading

0 comments on commit 0ed2210

Please sign in to comment.