Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create an ingress to expose the legacy v0 API for Episerver #192

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

cnorthwood
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Oct 11, 2024

Infrastructure Changes

Development CDK Diff
[Warning at /dev/LocalOfficeSearchApiDeployment/EksClusterIntegration/Resource/KubectlSubnet0] No routeTableId was provided to the subnet 'subnet-dc917784'. Attempting to read its .routeTable.routeTableId will return null/undefined. (More info: https://github.com/aws/aws-cdk/pull/3171) [ack: @aws-cdk/aws-ec2:noSubnetRouteTableId]
[Warning at /dev/LocalOfficeSearchApiDeployment/EksClusterIntegration/Resource/KubectlSubnet1] No routeTableId was provided to the subnet 'subnet-63d07107'. Attempting to read its .routeTable.routeTableId will return null/undefined. (More info: https://github.com/aws/aws-cdk/pull/3171) [ack: @aws-cdk/aws-ec2:noSubnetRouteTableId]
[Warning at /dev/LocalOfficeSearchApiDeployment/EksClusterIntegration/Resource/KubectlSubnet2] No routeTableId was provided to the subnet 'subnet-a31ed6d5'. Attempting to read its .routeTable.routeTableId will return null/undefined. (More info: https://github.com/aws/aws-cdk/pull/3171) [ack: @aws-cdk/aws-ec2:noSubnetRouteTableId]
start: Building bbc47add687ba678cdd88ab96be1eae29795f6ea7a054d66f8efb8146dbd7d57:979633842206-eu-west-1
success: Built bbc47add687ba678cdd88ab96be1eae29795f6ea7a054d66f8efb8146dbd7d57:979633842206-eu-west-1
start: Publishing bbc47add687ba678cdd88ab96be1eae29795f6ea7a054d66f8efb8146dbd7d57:979633842206-eu-west-1
success: Published bbc47add687ba678cdd88ab96be1eae29795f6ea7a054d66f8efb8146dbd7d57:979633842206-eu-west-1
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)
Stack dev/LocalOfficeSearchApiDb (dev-LocalOfficeSearchApiDb)
There were no differences
Stack dev/LocalOfficeSearchApiDeployment (dev-LocalOfficeSearchApiDeployment)
Resources
[~] Custom::AWSCDK-EKS-KubernetesResource LocalOfficeSearchApiDeployment/EksClusterIntegration/Resource/LocalOfficeSearchApiChart/Resource EksClusterIntegrationLocalOfficeSearchApiChart66FA136D 
 └─ [~] Manifest
     └─ [~] .Fn::Join:
         └─ @@ -1,7 +1,7 @@
            [ ] [
            [ ]   "",
            [ ]   [
            [-]     "[{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"ad.datadoghq.com/local-office-search-api-server.logs\":\"[{\\\"source\\\": \\\"ruby\\\", \\\"sourcecategory\\\": \\\"sourcecode\\\", \\\"service\\\": \\\"local-office-search-api\\\", \\\"log_processing_rules\\\": [{\\\"type\\\": \\\"exclude_at_match\\\", \\\"name\\\": \\\"exclude_metrics_requests\\\", \\\"pattern\\\": \\\"GET /metrics\\\"}, {\\\"type\\\": \\\"exclude_at_match\\\", \\\"name\\\": \\\"exclude_status_heartbeat\\\", \\\"pattern\\\": \\\"\\\\\\\"path\\\\\\\":\\\\\\\"/status\\\\\\\"\\\"}]}]\"},\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"},\"name\":\"localofficesearchapichart-deployment-c800a582\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"minReadySeconds\":0,\"progressDeadlineSeconds\":600,\"selector\":{\"matchLabels\":{\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"labels\":{\"app\":\"local-office-search-api\",\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\",\"component\":\"local-office-search-api-server\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"}},\"spec\":{\"automountServiceAccountToken\":false,\"containers\":[{\"args\":[\"bin/rails\",\"server\",\"-p\",\"3060\",\"-b\",\"0.0.0.0\"],\"env\":[{\"name\":\"DD_ENV\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/env']\"}}},{\"name\":\"DD_SERVICE\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/service']\"}}},{\"name\":\"DD_VERSION\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/version']\"}}},{\"name\":\"DD_AGENT_HOST\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"status.hostIP\"}}},{\"name\":\"RAILS_MAX_THREADS\",\"value\":\"10\"},{\"name\":\"RAILS_ENV\",\"value\":\"production\"},{\"name\":\"RACK_ENV\",\"value\":\"production\"},{\"name\":\"NODE_ENV\",\"value\":\"production\"},{\"name\":\"SECRET_KEY_BASE\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"SECRET_KEY_BASE\",\"name\":\"local-office-search-app\"}}},{\"name\":\"RAILS_LOG_TO_STDOUT\",\"value\":\"true\"},{\"name\":\"LSS_DATA_BUCKET\",\"value\":\"sandbox-advicelocationpipe-pipelinebucket263ac468-19wuk9oanxght\"},{\"name\":\"GEO_DATA_BUCKET\",\"value\":\"uat-geo-data-postcodes-raw-eu-west-1\"},{\"name\":\"GEO_DATA_POSTCODES_FILE\",\"value\":\"Geo_postcodes_csv_uat.csv\"},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_USER\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_USERNAME\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_PASSWORD\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_USER\",\"value\":\"local_office_search_api\"},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"DB_PASSWORD\",\"name\":\"local-office-search-db\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_HOST\",\"value\":\"",
            [+]     "[{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"ad.datadoghq.com/local-office-search-api-server.logs\":\"[{\\\"source\\\": \\\"ruby\\\", \\\"sourcecategory\\\": \\\"sourcecode\\\", \\\"service\\\": \\\"local-office-search-api\\\", \\\"log_processing_rules\\\": [{\\\"type\\\": \\\"exclude_at_match\\\", \\\"name\\\": \\\"exclude_metrics_requests\\\", \\\"pattern\\\": \\\"GET /metrics\\\"}, {\\\"type\\\": \\\"exclude_at_match\\\", \\\"name\\\": \\\"exclude_status_heartbeat\\\", \\\"pattern\\\": \\\"\\\\\\\"path\\\\\\\":\\\\\\\"/status\\\\\\\"\\\"}]}]\"},\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"localofficesearchapichart-deployment-c800a582\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"minReadySeconds\":0,\"progressDeadlineSeconds\":600,\"selector\":{\"matchLabels\":{\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"labels\":{\"app\":\"local-office-search-api\",\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\",\"component\":\"local-office-search-api-server\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"}},\"spec\":{\"automountServiceAccountToken\":false,\"containers\":[{\"args\":[\"bin/rails\",\"server\",\"-p\",\"3060\",\"-b\",\"0.0.0.0\"],\"env\":[{\"name\":\"DD_ENV\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/env']\"}}},{\"name\":\"DD_SERVICE\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/service']\"}}},{\"name\":\"DD_VERSION\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/version']\"}}},{\"name\":\"DD_AGENT_HOST\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"status.hostIP\"}}},{\"name\":\"RAILS_MAX_THREADS\",\"value\":\"10\"},{\"name\":\"RAILS_ENV\",\"value\":\"production\"},{\"name\":\"RACK_ENV\",\"value\":\"production\"},{\"name\":\"NODE_ENV\",\"value\":\"production\"},{\"name\":\"SECRET_KEY_BASE\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"SECRET_KEY_BASE\",\"name\":\"local-office-search-app\"}}},{\"name\":\"RAILS_LOG_TO_STDOUT\",\"value\":\"true\"},{\"name\":\"LSS_DATA_BUCKET\",\"value\":\"sandbox-advicelocationpipe-pipelinebucket263ac468-19wuk9oanxght\"},{\"name\":\"GEO_DATA_BUCKET\",\"value\":\"uat-geo-data-postcodes-raw-eu-west-1\"},{\"name\":\"GEO_DATA_POSTCODES_FILE\",\"value\":\"Geo_postcodes_csv_uat.csv\"},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_USER\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_USERNAME\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_PASSWORD\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_USER\",\"value\":\"local_office_search_api\"},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"DB_PASSWORD\",\"name\":\"local-office-search-db\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_HOST\",\"value\":\"",
            [ ]     {
            [ ]       "Fn::ImportValue": "dev-LocalOfficeSearchApiDb:ExportsOutputFnGetAttDbCluster224236EFEndpointAddress7B9F10FA"
            [ ]     },
            @@ -13,7 +13,7 @@
            [ ] {
            [ ]   "Ref": "AWS::URLSuffix"
            [ ] },
            [-] "/local-office-search-api:023427cd12de5ac1c29cc3abccc78a821d30c353\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"local-office-search-api-server\",\"ports\":[{\"containerPort\":3060,\"name\":\"http\"},{\"containerPort\":9394,\"name\":\"metrics\"}],\"readinessProbe\":{\"failureThreshold\":3,\"httpGet\":{\"path\":\"/status\",\"port\":3060,\"scheme\":\"HTTP\"},\"initialDelaySeconds\":10,\"periodSeconds\":10,\"successThreshold\":1,\"timeoutSeconds\":5},\"resources\":{\"limits\":{\"cpu\":\"800m\",\"memory\":\"1024Mi\"},\"requests\":{\"cpu\":\"400m\",\"memory\":\"512Mi\"}},\"securityContext\":{\"allowPrivilegeEscalation\":false,\"privileged\":false,\"readOnlyRootFilesystem\":false,\"runAsNonRoot\":true,\"runAsUser\":1000}}],\"dnsPolicy\":\"ClusterFirst\",\"hostNetwork\":false,\"restartPolicy\":\"Always\",\"securityContext\":{\"fsGroupChangePolicy\":\"Always\",\"runAsNonRoot\":true},\"serviceAccountName\":\"local-office-search-api\",\"setHostnameAsFQDN\":false,\"terminationGracePeriodSeconds\":60}}}},{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"},\"name\":\"local-office-search-api\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"externalIPs\":[],\"ports\":[{\"name\":\"http\",\"port\":3060}],\"selector\":{\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\"},\"type\":\"ClusterIP\"}},{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"custom-metrics-enabled\":\"true\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"},\"name\":\"local-office-search-api-metrics\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"externalIPs\":[],\"ports\":[{\"name\":\"metrics\",\"port\":9394}],\"selector\":{\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\"},\"type\":\"ClusterIP\"}},{\"apiVersion\":\"batch/v1\",\"kind\":\"CronJob\",\"metadata\":{\"annotations\":{\"ad.datadoghq.com/local-office-search-api-scheduled-import.logs\":\"[{\\\"source\\\": \\\"ruby\\\", \\\"sourcecategory\\\": \\\"sourcecode\\\", \\\"service\\\": \\\"local-office-search-api\\\"}]\"},\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"},\"name\":\"localofficesearcha-scheduledimport-c866b7c6\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"concurrencyPolicy\":\"Forbid\",\"failedJobsHistoryLimit\":1,\"jobTemplate\":{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"app\":\"local-office-search-api\",\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-ScheduledImport-c8726367\",\"component\":\"local-office-search-api-scheduled-import\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"}},\"spec\":{\"automountServiceAccountToken\":false,\"containers\":[{\"args\":[\"bin/rake\",\"sync_database\"],\"env\":[{\"name\":\"DD_ENV\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/env']\"}}},{\"name\":\"DD_SERVICE\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/service']\"}}},{\"name\":\"DD_VERSION\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/version']\"}}},{\"name\":\"DD_AGENT_HOST\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"status.hostIP\"}}},{\"name\":\"RAILS_MAX_THREADS\",\"value\":\"10\"},{\"name\":\"RAILS_ENV\",\"value\":\"production\"},{\"name\":\"RACK_ENV\",\"value\":\"production\"},{\"name\":\"NODE_ENV\",\"value\":\"production\"},{\"name\":\"SECRET_KEY_BASE\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"SECRET_KEY_BASE\",\"name\":\"local-office-search-app\"}}},{\"name\":\"RAILS_LOG_TO_STDOUT\",\"value\":\"true\"},{\"name\":\"LSS_DATA_BUCKET\",\"value\":\"sandbox-advicelocationpipe-pipelinebucket263ac468-19wuk9oanxght\"},{\"name\":\"GEO_DATA_BUCKET\",\"value\":\"uat-geo-data-postcodes-raw-eu-west-1\"},{\"name\":\"GEO_DATA_POSTCODES_FILE\",\"value\":\"Geo_postcodes_csv_uat.csv\"},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_USER\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_USERNAME\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_PASSWORD\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_USER\",\"value\":\"local_office_search_api\"},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"DB_PASSWORD\",\"name\":\"local-office-search-db\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_HOST\",\"value\":\"",
            [+] "/local-office-search-api:local\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"local-office-search-api-server\",\"ports\":[{\"containerPort\":3060,\"name\":\"http\"},{\"containerPort\":9394,\"name\":\"metrics\"}],\"readinessProbe\":{\"failureThreshold\":3,\"httpGet\":{\"path\":\"/status\",\"port\":3060,\"scheme\":\"HTTP\"},\"initialDelaySeconds\":10,\"periodSeconds\":10,\"successThreshold\":1,\"timeoutSeconds\":5},\"resources\":{\"limits\":{\"cpu\":\"800m\",\"memory\":\"1024Mi\"},\"requests\":{\"cpu\":\"400m\",\"memory\":\"512Mi\"}},\"securityContext\":{\"allowPrivilegeEscalation\":false,\"privileged\":false,\"readOnlyRootFilesystem\":false,\"runAsNonRoot\":true,\"runAsUser\":1000}}],\"dnsPolicy\":\"ClusterFirst\",\"hostNetwork\":false,\"restartPolicy\":\"Always\",\"securityContext\":{\"fsGroupChangePolicy\":\"Always\",\"runAsNonRoot\":true},\"serviceAccountName\":\"local-office-search-api\",\"setHostnameAsFQDN\":false,\"terminationGracePeriodSeconds\":60}}}},{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"local-office-search-api\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"externalIPs\":[],\"ports\":[{\"name\":\"http\",\"port\":3060}],\"selector\":{\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\"},\"type\":\"NodePort\"}},{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"custom-metrics-enabled\":\"true\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"local-office-search-api-metrics\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"externalIPs\":[],\"ports\":[{\"name\":\"metrics\",\"port\":9394}],\"selector\":{\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-Deployment-c86689ab\"},\"type\":\"ClusterIP\"}},{\"apiVersion\":\"networking.k8s.io/v1\",\"kind\":\"Ingress\",\"metadata\":{\"annotations\":{\"alb.ingress.kubernetes.io/actions.ssl-redirect\":\"{\\\"Type\\\": \\\"redirect\\\", \\\"RedirectConfig\\\": {\\\"Protocol\\\": \\\"HTTPS\\\", \\\"Port\\\": \\\"443\\\", \\\"StatusCode\\\": \\\"HTTP_301\\\"}}\",\"alb.ingress.kubernetes.io/healthcheck-path\":\"/status\",\"alb.ingress.kubernetes.io/scheme\":\"internet-facing\",\"alb.ingress.kubernetes.io/ssl-policy\":\"ELBSecurityPolicy-TLS-1-2-2017-01\",\"alb.ingress.kubernetes.io/tags\":\"Environment=dev,Product=corporate_site,Component=local_office_search_api,TechnicalOwner=contentplatform@citizensadvice.org.uk\"},\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"localofficesear-localofficesearchapiv0ingress-c82a3dc0\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"ingressClassName\":\"alb\",\"rules\":[{\"host\":\"bureaudetails.qa.citizensadvice.org.uk\",\"http\":{\"paths\":[{\"backend\":{\"service\":{\"name\":\"local-office-search-api\",\"port\":{\"number\":3060}}},\"path\":\"/api/v0/\",\"pathType\":\"Prefix\"}]}}]}},{\"apiVersion\":\"batch/v1\",\"kind\":\"CronJob\",\"metadata\":{\"annotations\":{\"ad.datadoghq.com/local-office-search-api-scheduled-import.logs\":\"[{\\\"source\\\": \\\"ruby\\\", \\\"sourcecategory\\\": \\\"sourcecode\\\", \\\"service\\\": \\\"local-office-search-api\\\"}]\"},\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"localofficesearcha-scheduledimport-c866b7c6\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"concurrencyPolicy\":\"Forbid\",\"failedJobsHistoryLimit\":1,\"jobTemplate\":{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"app\":\"local-office-search-api\",\"cdk8s.io/metadata.addr\":\"LocalOfficeSearchApiChart-ScheduledImport-c8726367\",\"component\":\"local-office-search-api-scheduled-import\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"}},\"spec\":{\"automountServiceAccountToken\":false,\"containers\":[{\"args\":[\"bin/rake\",\"sync_database\"],\"env\":[{\"name\":\"DD_ENV\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/env']\"}}},{\"name\":\"DD_SERVICE\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/service']\"}}},{\"name\":\"DD_VERSION\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.labels['tags.datadoghq.com/version']\"}}},{\"name\":\"DD_AGENT_HOST\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"status.hostIP\"}}},{\"name\":\"RAILS_MAX_THREADS\",\"value\":\"10\"},{\"name\":\"RAILS_ENV\",\"value\":\"production\"},{\"name\":\"RACK_ENV\",\"value\":\"production\"},{\"name\":\"NODE_ENV\",\"value\":\"production\"},{\"name\":\"SECRET_KEY_BASE\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"SECRET_KEY_BASE\",\"name\":\"local-office-search-app\"}}},{\"name\":\"RAILS_LOG_TO_STDOUT\",\"value\":\"true\"},{\"name\":\"LSS_DATA_BUCKET\",\"value\":\"sandbox-advicelocationpipe-pipelinebucket263ac468-19wuk9oanxght\"},{\"name\":\"GEO_DATA_BUCKET\",\"value\":\"uat-geo-data-postcodes-raw-eu-west-1\"},{\"name\":\"GEO_DATA_POSTCODES_FILE\",\"value\":\"Geo_postcodes_csv_uat.csv\"},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_USER\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_USERNAME\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_EPISERVER_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"EPISERVER_PASSWORD\",\"name\":\"local-office-search-app\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_USER\",\"value\":\"local_office_search_api\"},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"DB_PASSWORD\",\"name\":\"local-office-search-db\"}}},{\"name\":\"LOCAL_OFFICE_SEARCH_DB_HOST\",\"value\":\"",
            [ ] {
            [ ]   "Fn::ImportValue": "dev-LocalOfficeSearchApiDb:ExportsOutputFnGetAttDbCluster224236EFEndpointAddress7B9F10FA"
            [ ] },
            @@ -25,6 +25,6 @@
            [ ]     {
            [ ]       "Ref": "AWS::URLSuffix"
            [ ]     },
            [-]     "/local-office-search-api:023427cd12de5ac1c29cc3abccc78a821d30c353\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"local-office-search-api-scheduled-import\",\"ports\":[{\"containerPort\":3060,\"name\":\"http\"},{\"containerPort\":9394,\"name\":\"metrics\"}],\"readinessProbe\":{\"failureThreshold\":3,\"httpGet\":{\"path\":\"/status\",\"port\":3060,\"scheme\":\"HTTP\"},\"initialDelaySeconds\":10,\"periodSeconds\":10,\"successThreshold\":1,\"timeoutSeconds\":5},\"resources\":{\"limits\":{\"cpu\":\"800m\",\"memory\":\"1024Mi\"},\"requests\":{\"cpu\":\"400m\",\"memory\":\"512Mi\"}},\"securityContext\":{\"allowPrivilegeEscalation\":false,\"privileged\":false,\"readOnlyRootFilesystem\":false,\"runAsNonRoot\":true,\"runAsUser\":1000}}],\"dnsPolicy\":\"ClusterFirst\",\"hostNetwork\":false,\"restartPolicy\":\"Never\",\"securityContext\":{\"fsGroupChangePolicy\":\"Always\",\"runAsNonRoot\":true},\"serviceAccountName\":\"local-office-search-api\",\"setHostnameAsFQDN\":false,\"terminationGracePeriodSeconds\":30}}}},\"schedule\":\"55 9 * * *\",\"startingDeadlineSeconds\":10,\"successfulJobsHistoryLimit\":3,\"suspend\":false,\"timeZone\":\"Europe/London\"}},{\"apiVersion\":\"autoscaling/v2\",\"kind\":\"HorizontalPodAutoscaler\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"},\"name\":\"localofficesearchapichart-autoscaler-c88dcdb9\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"behavior\":{\"scaleDown\":{\"policies\":[{\"periodSeconds\":300,\"type\":\"Pods\",\"value\":2}],\"selectPolicy\":\"Max\",\"stabilizationWindowSeconds\":300},\"scaleUp\":{\"policies\":[{\"periodSeconds\":60,\"type\":\"Pods\",\"value\":4},{\"periodSeconds\":60,\"type\":\"Percent\",\"value\":200}],\"selectPolicy\":\"Max\",\"stabilizationWindowSeconds\":0}},\"maxReplicas\":4,\"metrics\":[{\"pods\":{\"metric\":{\"name\":\"puma_business\"},\"target\":{\"averageValue\":0.75,\"type\":\"AverageValue\"}},\"type\":\"Pods\"}],\"minReplicas\":2,\"scaleTargetRef\":{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"name\":\"localofficesearchapichart-deployment-c800a582\"}}},{\"apiVersion\":\"networking.k8s.io/v1\",\"kind\":\"NetworkPolicy\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"},\"name\":\"localofficesearchapichar-allowexternaltraffic-c8169a54\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"ingress\":[{\"from\":[{\"ipBlock\":{\"cidr\":\"0.0.0.0/0\"}}],\"ports\":[{\"port\":3060}]}],\"podSelector\":{},\"policyTypes\":[\"Ingress\"]}},{\"apiVersion\":\"networking.k8s.io/v1\",\"kind\":\"NetworkPolicy\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"023427cd12de5ac1c29cc3abccc78a821d30c353\"},\"name\":\"localofficesearchapich-allowmetricscollection-c86de9cc\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"ingress\":[{\"from\":[{\"namespaceSelector\":{\"matchLabels\":{\"kubernetes.io/metadata.name\":\"kube-monitoring\"}},\"podSelector\":{\"matchExpressions\":[{\"key\":\"prometheus\",\"operator\":\"In\",\"values\":[\"prometheus-operator-prometheus\"]}]}}],\"ports\":[{\"port\":9394}]}],\"podSelector\":{},\"policyTypes\":[\"Ingress\"]}}]"
            [+]     "/local-office-search-api:local\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"local-office-search-api-scheduled-import\",\"ports\":[{\"containerPort\":3060,\"name\":\"http\"},{\"containerPort\":9394,\"name\":\"metrics\"}],\"readinessProbe\":{\"failureThreshold\":3,\"httpGet\":{\"path\":\"/status\",\"port\":3060,\"scheme\":\"HTTP\"},\"initialDelaySeconds\":10,\"periodSeconds\":10,\"successThreshold\":1,\"timeoutSeconds\":5},\"resources\":{\"limits\":{\"cpu\":\"800m\",\"memory\":\"1024Mi\"},\"requests\":{\"cpu\":\"400m\",\"memory\":\"512Mi\"}},\"securityContext\":{\"allowPrivilegeEscalation\":false,\"privileged\":false,\"readOnlyRootFilesystem\":false,\"runAsNonRoot\":true,\"runAsUser\":1000}}],\"dnsPolicy\":\"ClusterFirst\",\"hostNetwork\":false,\"restartPolicy\":\"Never\",\"securityContext\":{\"fsGroupChangePolicy\":\"Always\",\"runAsNonRoot\":true},\"serviceAccountName\":\"local-office-search-api\",\"setHostnameAsFQDN\":false,\"terminationGracePeriodSeconds\":30}}}},\"schedule\":\"55 9 * * *\",\"startingDeadlineSeconds\":10,\"successfulJobsHistoryLimit\":3,\"suspend\":false,\"timeZone\":\"Europe/London\"}},{\"apiVersion\":\"autoscaling/v2\",\"kind\":\"HorizontalPodAutoscaler\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"localofficesearchapichart-autoscaler-c88dcdb9\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"behavior\":{\"scaleDown\":{\"policies\":[{\"periodSeconds\":300,\"type\":\"Pods\",\"value\":2}],\"selectPolicy\":\"Max\",\"stabilizationWindowSeconds\":300},\"scaleUp\":{\"policies\":[{\"periodSeconds\":60,\"type\":\"Pods\",\"value\":4},{\"periodSeconds\":60,\"type\":\"Percent\",\"value\":200}],\"selectPolicy\":\"Max\",\"stabilizationWindowSeconds\":0}},\"maxReplicas\":4,\"metrics\":[{\"pods\":{\"metric\":{\"name\":\"puma_business\"},\"target\":{\"averageValue\":0.75,\"type\":\"AverageValue\"}},\"type\":\"Pods\"}],\"minReplicas\":2,\"scaleTargetRef\":{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"name\":\"localofficesearchapichart-deployment-c800a582\"}}},{\"apiVersion\":\"networking.k8s.io/v1\",\"kind\":\"NetworkPolicy\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"localofficesearchapichar-allowexternaltraffic-c8169a54\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"ingress\":[{\"from\":[{\"ipBlock\":{\"cidr\":\"0.0.0.0/0\"}}],\"ports\":[{\"port\":3060}]}],\"podSelector\":{},\"policyTypes\":[\"Ingress\"]}},{\"apiVersion\":\"networking.k8s.io/v1\",\"kind\":\"NetworkPolicy\",\"metadata\":{\"labels\":{\"aws.cdk.eks/prune-c8d8a0f78dbda1c5908c7c5220b6e549831b132e9f\":\"\",\"app\":\"local-office-search-api\",\"env\":\"dev\",\"tags.datadoghq.com/env\":\"dev\",\"tags.datadoghq.com/service\":\"local-office-search-api\",\"tags.datadoghq.com/version\":\"local\"},\"name\":\"localofficesearchapich-allowmetricscollection-c86de9cc\",\"namespace\":\"dev-local-office-search-api\"},\"spec\":{\"ingress\":[{\"from\":[{\"namespaceSelector\":{\"matchLabels\":{\"kubernetes.io/metadata.name\":\"kube-monitoring\"}},\"podSelector\":{\"matchExpressions\":[{\"key\":\"prometheus\",\"operator\":\"In\",\"values\":[\"prometheus-operator-prometheus\"]}]}}],\"ports\":[{\"port\":9394}]}],\"podSelector\":{},\"policyTypes\":[\"Ingress\"]}}]"
            [ ]   ]
            [ ] ]

Stack dev-LocalOfficeSearchApiDeployment-devLocalOfficeSearchApiDeploymentEksClusterIntegrat-PR75B9URWKWC
There were no differences

✨  Number of stacks with differences: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants