Files
apigateway-ocp/samples/multigroup/apim-ext.yaml
2025-11-13 23:47:20 +08:00

358 lines
8.1 KiB
YAML

nameOverride: gateway
global:
domainName: example.com
defaultRegistry: docker.repository.axway.com/apigateway-docker-prod/7.7
imagePullPolicy: Always
imagePullSecrets:
- name: mycreds
initContainers:
image: "docker.io/busybox:1.34"
resources:
limits:
memory: "50Mi"
cpu: "50m"
requests:
memory: "5Mi"
cpu: "50m"
securityContext:
runAsNonRoot: false
database:
host: mysql.testmetrics.svc.cluster.local
metrics:
enabled: true
username: "root"
password: "password"
cassandra:
enabled: true
hosts:
- variable: CASS_HOST
hostname: cassandra.testcassandra.svc.cluster.local
username: cassandra
password: cassandra
keyspace: apigw
tkeyspace: apigwks
tests:
images:
curl:
tag: 7.83.1
resources:
limits:
cpu: 100m
memory: 50Mi
requests:
cpu: 100m
memory: 50Mi
storage:
provisioningType: "dynamic"
storageClassName: "nfs-client"
volumes:
- name: events
enabled: false
accessModes:
- ReadWriteMany
capacity: 1Mi
#This is set to false when the pv is created by the AAOI helm chart
- name: opentraffic
enabled: false
accessModes:
- ReadWriteMany
capacity: 1Mi
- name: gw-external-config
enabled: false
accessModes:
- ReadWriteMany
capacity: 1Mi
- name: aga-external-config
enabled: false
accessModes:
- ReadWriteMany
capacity: 1Mi
- name: anm-external-config
enabled: false
accessModes:
- ReadWriteMany
capacity: 1Mi
anm:
logs:
opentraffic:
output: "file"
enabled: false
hostname: "apim-int-gateway-anm.apim-internal.svc.cluster.local:8090"
image:
repository: "admin-nodemanager"
tag: "7.7.0.20230830-3-BN0019-ubi7"
generalConditions:
accept: "yes"
resources:
limits:
memory: "2048Mi"
cpu: "1000m"
requests:
memory: "1Gi"
cpu: "250m"
securityContext:
runAsNonRoot: false
route:
enabled: false
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: anm.ext.mydomain.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- anm.ext.mydomain.com
#service:
# port: 8091
extraVolumeMounts:
- name: anm-external-config
mountPath: /merge
- name: events
mountPath: /opt/Axway/apigateway/events
extraVolumes:
- persistentVolumeClaim:
claimName: anm-external-config
name: anm-external-config
- persistentVolumeClaim:
claimName: events
name: events
apimgr:
logs:
opentraffic:
output: "file"
image:
repository: "gateway"
tag: "7.7.0.20230830-3-BN0019-ubi7"
generalConditions:
accept: "yes"
groupId: "SecondGroup"
resources:
limits:
memory: "2Gi"
cpu: 2
requests:
memory: "0.5Gi"
cpu: 0.5
securityContext:
runAsNonRoot: false
route:
enabled: false
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: apimgr.ext.mydomain.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- apimgr.ext.mydomain.com
service:
port: 8075
extraVolumeMounts:
- name: gw-external-config
mountPath: /merge
- name: opentraffic
mountPath: /var/opentraffic
- name: events
mountPath: /opt/Axway/apigateway/events
extraVolumes:
- persistentVolumeClaim:
claimName: gw-external-config
name: gw-external-config
- persistentVolumeClaim:
claimName: opentraffic
name: opentraffic
- persistentVolumeClaim:
claimName: events
name: events
extraEnvVars:
- name: EMT_HEALTHCHECK_PORT
value: "8065"
- name: EMT_HEALTHCHECK_PATH
value: /healthcheck
- name: GW_DIR
value: /opt/Axway/apigateway
- name: GW_TRACE_DIR
value: /opt/Axway/apigateway/groups/topologylinks/emt-group-emt-service/trace
- name: EMT_TOPOLOGY_TTL
value: "10"
license:
license.lic: |
FIPS=1
Mock Connector=1
SalesForce Connector=1
ServiceNow Connector=1
analytics=1
apiportal=1
expires=Thu, 05 May 2023 15:43:14 GMT
mcafee=1
sdkgenerator=1
unrestricted=1
version=7
version=7.7
# SIGNATURE: add
apitraffic:
logs:
opentraffic:
output: "file"
replicaCount: 1
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 2
targetCPUUtilizationPercentage: 20
#targetMemoryUtilizationPercentage: 30
image:
repository: "gateway"
tag: "7.7.0.20230830-3-BN0019-ubi7"
generalConditions:
accept: "yes"
groupId: "SecondGroup"
resources:
limits:
memory: "3Gi"
cpu: 3
requests:
memory: "2Gi"
cpu: 2
securityContext:
runAsNonRoot: false
oauth:
route:
enabled: false
route:
enabled: false
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: apitraffic.ext.mydomain.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- apitraffic.ext.mydomain.com
service:
port: 8065
extraVolumeMounts:
- name: gw-external-config
mountPath: /merge
- name: opentraffic
mountPath: /var/opentraffic
- name: events
mountPath: /opt/Axway/apigateway/events
extraVolumes:
- persistentVolumeClaim:
claimName: gw-external-config
name: gw-external-config
- persistentVolumeClaim:
claimName: opentraffic
name: opentraffic
- persistentVolumeClaim:
claimName: events
name: events
extraEnvVars:
- name: EMT_HEALTHCHECK_PORT
value: "8065"
- name: EMT_HEALTHCHECK_PATH
value: /healthcheck
- name: GW_DIR
value: /opt/Axway/apigateway
- name: GW_TRACE_DIR
value: /opt/Axway/apigateway/groups/topologylinks/emt-group-emt-service/trace
- name: EMT_TOPOLOGY_TTL
value: "10"
license:
license.lic: |
FIPS=1
Mock Connector=1
SalesForce Connector=1
ServiceNow Connector=1
analytics=1
apiportal=1
expires=Thu, 05 May 2023 15:43:14 GMT
mcafee=1
sdkgenerator=1
unrestricted=1
version=7
version=7.7
# SIGNATURE: add
aga:
securityContext:
runAsNonRoot: false
enabled: false
route:
enabled: false
image:
repository: "analytics"
tag: "7.7.0.20230830-3-BN0019-ubi7"
generalConditions:
accept: "yes"
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: aga.ext.mydomain.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- aga.ext.mydomain.com
resources:
limits:
memory: "2048Mi"
cpu: "1000m"
requests:
memory: "1Gi"
cpu: "250m"
extraVolumeMounts:
- name: aga-external-config
mountPath: /merge
- name: events
mountPath: /opt/Axway/apigateway/events
extraVolumes:
- persistentVolumeClaim:
claimName: aga-external-config
name: aga-external-config
- persistentVolumeClaim:
claimName: events
name: events
license:
license.lic: |
FIPS=1
Mock Connector=1
SalesForce Connector=1
ServiceNow Connector=1
analytics=1
apiportal=1
expires=Thu, 05 May 2023 15:43:14 GMT
mcafee=1
sdkgenerator=1
unrestricted=1
version=7
version=7.7
# SIGNATURE: add