diff --git a/bindata/oauth-apiserver/networkpolicy_namespace_default-deny-all.yaml b/bindata/oauth-apiserver/networkpolicy_namespace_default-deny-all.yaml new file mode 100644 index 000000000..f38f5905d --- /dev/null +++ b/bindata/oauth-apiserver/networkpolicy_namespace_default-deny-all.yaml @@ -0,0 +1,10 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: default-deny-all + namespace: openshift-oauth-apiserver +spec: + podSelector: {} + policyTypes: + - Ingress + - Egress diff --git a/bindata/oauth-apiserver/networkpolicy_oauth-apiserver.yaml b/bindata/oauth-apiserver/networkpolicy_oauth-apiserver.yaml new file mode 100644 index 000000000..961920dbc --- /dev/null +++ b/bindata/oauth-apiserver/networkpolicy_oauth-apiserver.yaml @@ -0,0 +1,72 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: oauth-apiserver-networkpolicy + namespace: openshift-oauth-apiserver +spec: + podSelector: + matchLabels: + app: openshift-oauth-apiserver + policyTypes: + - Ingress + - Egress + ingress: + # allow metrics scraping from anywhere + - ports: + - protocol: TCP + port: 8443 + # allow ingress from the oauth-server + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication + podSelector: + matchLabels: + app: oauth-openshift + ports: + - protocol: TCP + port: 8443 + # allow ingress from the cluster-authentication-operator due to health checks + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication-operator + podSelector: + matchLabels: + app: authentication-operator + ports: + - protocol: TCP + port: 8443 + # allow ingress TCP traffic + # required for ingress from the kube-apiserver due to the webhook authenticator and aggregated APIs + - ports: + - protocol: TCP + port: 8443 + egress: + # allow egress to DNS + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-dns + podSelector: + matchLabels: + dns.operator.openshift.io/daemonset-dns: default + ports: + - protocol: TCP + port: 5353 + - protocol: UDP + port: 5353 + # allow egress to etcd + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-etcd + podSelector: + matchLabels: + app: etcd + ports: + - protocol: TCP + port: 2379 + # allow all egress traffic + # required for egress to kube-apiserver pods + - {} diff --git a/bindata/oauth-openshift/networkpolicy_namespace_default-deny-all.yaml b/bindata/oauth-openshift/networkpolicy_namespace_default-deny-all.yaml new file mode 100644 index 000000000..01fcba4db --- /dev/null +++ b/bindata/oauth-openshift/networkpolicy_namespace_default-deny-all.yaml @@ -0,0 +1,10 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: default-deny-all + namespace: openshift-authentication +spec: + podSelector: {} + policyTypes: + - Ingress + - Egress diff --git a/bindata/oauth-openshift/networkpolicy_oauth-server.yaml b/bindata/oauth-openshift/networkpolicy_oauth-server.yaml new file mode 100644 index 000000000..058326763 --- /dev/null +++ b/bindata/oauth-openshift/networkpolicy_oauth-server.yaml @@ -0,0 +1,71 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: oauth-server-networkpolicy + namespace: openshift-authentication +spec: + podSelector: + matchLabels: + app: oauth-openshift + policyTypes: + - Ingress + - Egress + ingress: + # allow metrics scraping from anywhere + - ports: + - protocol: TCP + port: 6443 + # allow ingress from the router + - from: + - namespaceSelector: + matchLabels: + policy-group.network.openshift.io/ingress: "" + ports: + - protocol: TCP + port: 6443 + # allow ingress from the cluster-authentication-operator due to health checks + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication-operator + podSelector: + matchLabels: + app: authentication-operator + ports: + - protocol: TCP + port: 6443 + # allow ingress from oauth-proxy as it can live in any namespace and pod (it's a sidecar) + - from: + - namespaceSelector: {} + ports: + - protocol: TCP + port: 6443 + egress: + # allow egress to DNS + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-dns + podSelector: + matchLabels: + dns.operator.openshift.io/daemonset-dns: default + ports: + - protocol: TCP + port: 5353 + - protocol: UDP + port: 5353 + # allow egress traffic to oauth-apiserver pods to access oauth APIs + # this rule overlaps with the generic TCP egress rule but exists for documentation purposes + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-oauth-apiserver + podSelector: + matchLabels: + app: openshift-oauth-apiserver + ports: + - protocol: TCP + port: 8443 + # allow all egress traffic + # required for egress to kube-apiserver pods and configured IDPs + - {} \ No newline at end of file diff --git a/manifests/0000_10_networkpolicy_00_authentication-operator.yaml b/manifests/0000_10_networkpolicy_00_authentication-operator.yaml new file mode 100644 index 000000000..f2191c965 --- /dev/null +++ b/manifests/0000_10_networkpolicy_00_authentication-operator.yaml @@ -0,0 +1,61 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: authentication-operator-networkpolicy + namespace: openshift-authentication-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" + include.release.openshift.io/single-node-developer: "true" +spec: + podSelector: + matchLabels: + app: authentication-operator + policyTypes: + - Ingress + - Egress + ingress: + # allow metrics scraping from anywhere + - ports: + - protocol: TCP + port: 8443 + egress: + # allow egress to DNS + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-dns + podSelector: + matchLabels: + dns.operator.openshift.io/daemonset-dns: default + ports: + - protocol: TCP + port: 5353 + - protocol: UDP + port: 5353 + # allow egress traffic to oauth-server pods for health checks + # this rule overlaps with the generic TCP egress rule but exists for documentation purposes + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication + podSelector: + matchLabels: + app: oauth-openshift + ports: + - protocol: TCP + port: 6443 + # allow egress traffic to oauth-apiserver pods for health checks + # this rule overlaps with the generic TCP egress rule but exists for documentation purposes + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-oauth-apiserver + podSelector: + matchLabels: + app: openshift-oauth-apiserver + ports: + - protocol: TCP + port: 8443 + # allow all egress traffic + # required for egress to kube-apiserver pods and openID provider discovery (external OIDC and via oauth) + - {} \ No newline at end of file diff --git a/manifests/0000_10_networkpolicy_99_namespace_default-deny-all.yaml b/manifests/0000_10_networkpolicy_99_namespace_default-deny-all.yaml new file mode 100644 index 000000000..f2bb4f966 --- /dev/null +++ b/manifests/0000_10_networkpolicy_99_namespace_default-deny-all.yaml @@ -0,0 +1,13 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: default-deny-all + namespace: openshift-authentication-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" + include.release.openshift.io/single-node-developer: "true" +spec: + podSelector: {} + policyTypes: + - Ingress + - Egress diff --git a/pkg/cmd/mom/output_resources_command.go b/pkg/cmd/mom/output_resources_command.go index 34302d397..001d0749d 100644 --- a/pkg/cmd/mom/output_resources_command.go +++ b/pkg/cmd/mom/output_resources_command.go @@ -41,6 +41,11 @@ func runOutputResources(ctx context.Context) (*libraryoutputresources.OutputReso libraryoutputresources.ExactRoleBinding("openshift-config-managed", "system:openshift:oauth-servercert-trust"), libraryoutputresources.ExactPDB("openshift-oauth-apiserver", "oauth-apiserver-pdb"), + + libraryoutputresources.ExactResource("networking.k8s.io", "v1", "networkpolicies", "openshift-authentication", "oauth-server-networkpolicy"), + libraryoutputresources.ExactResource("networking.k8s.io", "v1", "networkpolicies", "openshift-authentication", "default-deny-all"), + libraryoutputresources.ExactResource("networking.k8s.io", "v1", "networkpolicies", "openshift-oauth-apiserver", "oauth-apiserver-networkpolicy"), + libraryoutputresources.ExactResource("networking.k8s.io", "v1", "networkpolicies", "openshift-oauth-apiserver", "default-deny-all"), }, EventingNamespaces: []string{ "openshift-authentication-operator", diff --git a/pkg/operator/starter.go b/pkg/operator/starter.go index 635018376..1b4dea5c2 100644 --- a/pkg/operator/starter.go +++ b/pkg/operator/starter.go @@ -142,6 +142,8 @@ func prepareOauthOperator( []string{ // required resources "oauth-openshift/audit-policy.yaml", "oauth-openshift/ns.yaml", + "oauth-openshift/networkpolicy_oauth-server.yaml", + "oauth-openshift/networkpolicy_namespace_default-deny-all.yaml", "oauth-openshift/authorization.openshift.io_rolebindingrestrictions.yaml", }, resourceapply.NewKubeClientHolder(authOperatorInput.kubeClient).WithAPIExtensionsClient(authOperatorInput.apiextensionClient), @@ -526,6 +528,8 @@ func prepareOauthAPIServerOperator( { Files: []string{ "oauth-apiserver/ns.yaml", + "oauth-apiserver/networkpolicy_oauth-apiserver.yaml", + "oauth-apiserver/networkpolicy_namespace_default-deny-all.yaml", }, }, { diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/ca52-body-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/913e-body-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/ca52-body-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/913e-body-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/ca52-metadata-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/913e-metadata-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/ca52-metadata-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/config.openshift.io/clusteroperators/913e-metadata-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/5657-body-openshift-oauth-apiserver.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/7360-body-openshift-oauth-apiserver.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/5657-body-openshift-oauth-apiserver.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/7360-body-openshift-oauth-apiserver.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/5657-metadata-openshift-oauth-apiserver.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/7360-metadata-openshift-oauth-apiserver.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/5657-metadata-openshift-oauth-apiserver.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/7360-metadata-openshift-oauth-apiserver.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-body-openshift-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-body-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-body-openshift-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-body-openshift-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-metadata-openshift-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-metadata-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-metadata-openshift-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-metadata-openshift-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bdd9-body-authentication-operator.17fe72c59b829800.c1403ea8.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0bf3-body-authentication-operator.17fe72c59b829800.c1403ea8.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bdd9-body-authentication-operator.17fe72c59b829800.c1403ea8.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0bf3-body-authentication-operator.17fe72c59b829800.c1403ea8.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bdd9-metadata-authentication-operator.17fe72c59b829800.c1403ea8.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0bf3-metadata-authentication-operator.17fe72c59b829800.c1403ea8.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bdd9-metadata-authentication-operator.17fe72c59b829800.c1403ea8.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0bf3-metadata-authentication-operator.17fe72c59b829800.c1403ea8.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ba68-body-authentication-operator.17fe72c59b829800.e6f3afa2.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/115f-body-authentication-operator.17fe72c59b829800.e6f3afa2.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ba68-body-authentication-operator.17fe72c59b829800.e6f3afa2.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/115f-body-authentication-operator.17fe72c59b829800.e6f3afa2.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ba68-metadata-authentication-operator.17fe72c59b829800.e6f3afa2.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/115f-metadata-authentication-operator.17fe72c59b829800.e6f3afa2.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ba68-metadata-authentication-operator.17fe72c59b829800.e6f3afa2.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/115f-metadata-authentication-operator.17fe72c59b829800.e6f3afa2.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13d7-body-authentication-operator.17fe72c59b829800.87c2a194.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1225-body-authentication-operator.17fe72c59b829800.87c2a194.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13d7-body-authentication-operator.17fe72c59b829800.87c2a194.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1225-body-authentication-operator.17fe72c59b829800.87c2a194.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13d7-metadata-authentication-operator.17fe72c59b829800.87c2a194.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1225-metadata-authentication-operator.17fe72c59b829800.87c2a194.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13d7-metadata-authentication-operator.17fe72c59b829800.87c2a194.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1225-metadata-authentication-operator.17fe72c59b829800.87c2a194.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f760-body-authentication-operator.17fe72c59b829800.103eb7f4.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/21ea-body-authentication-operator.17fe72c59b829800.103eb7f4.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f760-body-authentication-operator.17fe72c59b829800.103eb7f4.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/21ea-body-authentication-operator.17fe72c59b829800.103eb7f4.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f760-metadata-authentication-operator.17fe72c59b829800.103eb7f4.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/21ea-metadata-authentication-operator.17fe72c59b829800.103eb7f4.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f760-metadata-authentication-operator.17fe72c59b829800.103eb7f4.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/21ea-metadata-authentication-operator.17fe72c59b829800.103eb7f4.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/72b5-body-authentication-operator.17fe72c59b829800.a18021d9.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/2bcd-body-authentication-operator.17fe72c59b829800.a18021d9.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/72b5-body-authentication-operator.17fe72c59b829800.a18021d9.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/2bcd-body-authentication-operator.17fe72c59b829800.a18021d9.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/72b5-metadata-authentication-operator.17fe72c59b829800.a18021d9.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/2bcd-metadata-authentication-operator.17fe72c59b829800.a18021d9.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/72b5-metadata-authentication-operator.17fe72c59b829800.a18021d9.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/2bcd-metadata-authentication-operator.17fe72c59b829800.a18021d9.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f86-body-authentication-operator.17fe72c59b829800.05fbd8b8.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f86-body-authentication-operator.17fe72c59b829800.05fbd8b8.yaml new file mode 100644 index 000000000..ccf830ce7 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f86-body-authentication-operator.17fe72c59b829800.05fbd8b8.yaml @@ -0,0 +1,24 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2024-10-14T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2024-10-14T22:38:20Z" +message: 'Writing updated section ("oauthAPIServer") of observed config: "@@ -1 +1,24 + @@\n-null\n+{\n+ \"apiServerArguments\": {\n+ \"api-audiences\": [\n+ \"https://kubernetes.default.svc\"\n+ ],\n+ \"cors-allowed-origins\": + [\n+ \"//127\\\\.0\\\\.0\\\\.1(:|$)\",\n+ \"//localhost(:|$)\"\n+ ],\n+ \"feature-gates\": + [],\n+ \"tls-cipher-suites\": [\n+ \"TLS_AES_128_GCM_SHA256\",\n+ \"TLS_AES_256_GCM_SHA384\",\n+ \"TLS_CHACHA20_POLY1305_SHA256\",\n+ \"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\",\n+ \"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\",\n+ \"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\",\n+ \"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\",\n+ \"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\",\n+ \"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256\"\n+ ],\n+ \"tls-min-version\": + \"VersionTLS12\"\n+ }\n+}\n"' +metadata: + name: authentication-operator.17fe72c59b829800.05fbd8b8 + namespace: openshift-authentication-operator +reason: ObservedConfigChanged +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/de10-metadata-authentication-operator.17fe72c59b829800.2a24f1b5.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f86-metadata-authentication-operator.17fe72c59b829800.05fbd8b8.yaml similarity index 74% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/de10-metadata-authentication-operator.17fe72c59b829800.2a24f1b5.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f86-metadata-authentication-operator.17fe72c59b829800.05fbd8b8.yaml index e940eb94f..8b6423d15 100644 --- a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/de10-metadata-authentication-operator.17fe72c59b829800.2a24f1b5.yaml +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f86-metadata-authentication-operator.17fe72c59b829800.05fbd8b8.yaml @@ -1,7 +1,7 @@ action: Create controllerInstanceName: "" generateName: "" -name: authentication-operator.17fe72c59b829800.2a24f1b5 +name: authentication-operator.17fe72c59b829800.05fbd8b8 namespace: openshift-authentication-operator resourceType: Group: "" diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/32eb-body-authentication-operator.17fe72c59b829800.adf05e91.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/41f0-body-authentication-operator.17fe72c59b829800.adf05e91.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/32eb-body-authentication-operator.17fe72c59b829800.adf05e91.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/41f0-body-authentication-operator.17fe72c59b829800.adf05e91.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/32eb-metadata-authentication-operator.17fe72c59b829800.adf05e91.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/41f0-metadata-authentication-operator.17fe72c59b829800.adf05e91.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/32eb-metadata-authentication-operator.17fe72c59b829800.adf05e91.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/41f0-metadata-authentication-operator.17fe72c59b829800.adf05e91.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/30b9-body-authentication-operator.17fe72c59b829800.07abf400.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/4287-body-authentication-operator.17fe72c59b829800.07abf400.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/30b9-body-authentication-operator.17fe72c59b829800.07abf400.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/4287-body-authentication-operator.17fe72c59b829800.07abf400.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/30b9-metadata-authentication-operator.17fe72c59b829800.07abf400.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/4287-metadata-authentication-operator.17fe72c59b829800.07abf400.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/30b9-metadata-authentication-operator.17fe72c59b829800.07abf400.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/4287-metadata-authentication-operator.17fe72c59b829800.07abf400.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1149-body-authentication-operator.17fe72c59b829800.327a2f38.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5196-body-authentication-operator.17fe72c59b829800.327a2f38.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1149-body-authentication-operator.17fe72c59b829800.327a2f38.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5196-body-authentication-operator.17fe72c59b829800.327a2f38.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1149-metadata-authentication-operator.17fe72c59b829800.327a2f38.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5196-metadata-authentication-operator.17fe72c59b829800.327a2f38.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1149-metadata-authentication-operator.17fe72c59b829800.327a2f38.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5196-metadata-authentication-operator.17fe72c59b829800.327a2f38.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/eb3c-body-authentication-operator.17fe72c59b829800.6c145ec7.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5203-body-authentication-operator.17fe72c59b829800.6c145ec7.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/eb3c-body-authentication-operator.17fe72c59b829800.6c145ec7.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5203-body-authentication-operator.17fe72c59b829800.6c145ec7.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/eb3c-metadata-authentication-operator.17fe72c59b829800.6c145ec7.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5203-metadata-authentication-operator.17fe72c59b829800.6c145ec7.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/eb3c-metadata-authentication-operator.17fe72c59b829800.6c145ec7.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5203-metadata-authentication-operator.17fe72c59b829800.6c145ec7.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/53aa-body-authentication-operator.17fe72c59b829800.ec96ffd6.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/53aa-body-authentication-operator.17fe72c59b829800.ec96ffd6.yaml new file mode 100644 index 000000000..60485c6d6 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/53aa-body-authentication-operator.17fe72c59b829800.ec96ffd6.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2024-10-14T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2024-10-14T22:38:20Z" +message: Created NetworkPolicy.networking.k8s.io/default-deny-all -n openshift-authentication + because it was missing +metadata: + name: authentication-operator.17fe72c59b829800.ec96ffd6 + namespace: openshift-authentication-operator +reason: NetworkPolicyCreated +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5169-metadata-authentication-operator.17fe72c59b829800.ad6de22d.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/53aa-metadata-authentication-operator.17fe72c59b829800.ec96ffd6.yaml similarity index 74% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5169-metadata-authentication-operator.17fe72c59b829800.ad6de22d.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/53aa-metadata-authentication-operator.17fe72c59b829800.ec96ffd6.yaml index c5a7a1482..3e99d3352 100644 --- a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5169-metadata-authentication-operator.17fe72c59b829800.ad6de22d.yaml +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/53aa-metadata-authentication-operator.17fe72c59b829800.ec96ffd6.yaml @@ -1,7 +1,7 @@ action: Create controllerInstanceName: "" generateName: "" -name: authentication-operator.17fe72c59b829800.ad6de22d +name: authentication-operator.17fe72c59b829800.ec96ffd6 namespace: openshift-authentication-operator resourceType: Group: "" diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bf8a-body-authentication-operator.17fe72c59b829800.49fb0e36.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5b77-body-authentication-operator.17fe72c59b829800.49fb0e36.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bf8a-body-authentication-operator.17fe72c59b829800.49fb0e36.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5b77-body-authentication-operator.17fe72c59b829800.49fb0e36.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bf8a-metadata-authentication-operator.17fe72c59b829800.49fb0e36.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5b77-metadata-authentication-operator.17fe72c59b829800.49fb0e36.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bf8a-metadata-authentication-operator.17fe72c59b829800.49fb0e36.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5b77-metadata-authentication-operator.17fe72c59b829800.49fb0e36.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6303-body-authentication-operator.17fe72c59b829800.c1353886.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5db5-body-authentication-operator.17fe72c59b829800.c1353886.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6303-body-authentication-operator.17fe72c59b829800.c1353886.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5db5-body-authentication-operator.17fe72c59b829800.c1353886.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6303-metadata-authentication-operator.17fe72c59b829800.c1353886.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5db5-metadata-authentication-operator.17fe72c59b829800.c1353886.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6303-metadata-authentication-operator.17fe72c59b829800.c1353886.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5db5-metadata-authentication-operator.17fe72c59b829800.c1353886.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6393-body-authentication-operator.17fe72c59b829800.c879600c.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6393-body-authentication-operator.17fe72c59b829800.c879600c.yaml new file mode 100644 index 000000000..1c4f0f1f9 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6393-body-authentication-operator.17fe72c59b829800.c879600c.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2024-10-14T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2024-10-14T22:38:20Z" +message: Created NetworkPolicy.networking.k8s.io/default-deny-all -n openshift-oauth-apiserver + because it was missing +metadata: + name: authentication-operator.17fe72c59b829800.c879600c + namespace: openshift-authentication-operator +reason: NetworkPolicyCreated +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0dc4-metadata-authentication-operator.18599d2230299800.5f2cc1a1.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6393-metadata-authentication-operator.17fe72c59b829800.c879600c.yaml similarity index 74% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0dc4-metadata-authentication-operator.18599d2230299800.5f2cc1a1.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6393-metadata-authentication-operator.17fe72c59b829800.c879600c.yaml index d0a68d18e..b2f97ea63 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0dc4-metadata-authentication-operator.18599d2230299800.5f2cc1a1.yaml +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6393-metadata-authentication-operator.17fe72c59b829800.c879600c.yaml @@ -1,7 +1,7 @@ action: Create controllerInstanceName: "" generateName: "" -name: authentication-operator.18599d2230299800.5f2cc1a1 +name: authentication-operator.17fe72c59b829800.c879600c namespace: openshift-authentication-operator resourceType: Group: "" diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6471-body-authentication-operator.17fe72c59b829800.57eb8535.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6471-body-authentication-operator.17fe72c59b829800.57eb8535.yaml deleted file mode 100644 index e39d275f8..000000000 --- a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6471-body-authentication-operator.17fe72c59b829800.57eb8535.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: v1 -count: 1 -eventTime: null -firstTimestamp: "2024-10-14T22:38:20Z" -involvedObject: - kind: Deployment - name: authentication-operator - namespace: openshift-authentication-operator -kind: Event -lastTimestamp: "2024-10-14T22:38:20Z" -message: 'Writing updated section ("oauthServer") of observed config: " map[string]any(\n- - \tnil,\n+ \t{\n+ \t\t\"corsAllowedOrigins\": []any{string(`//127\\.0\\.0\\.1(:|$)`), - string(\"//localhost(:|$)\")},\n+ \t\t\"oauthConfig\": map[string]any{\n+ \t\t\t\"loginURL\": - string(\"https://api.ostest.test.metalkube.org:6443\"),\n+ \t\t\t\"tokenConfig\": - map[string]any{\n+ \t\t\t\t\"accessTokenMaxAgeSeconds\": float64(86400),\n+ \t\t\t\t\"authorizeTokenMaxAgeSeconds\": - float64(300),\n+ \t\t\t},\n+ \t\t},\n+ \t\t\"serverArguments\": map[string]any{\n+ - \t\t\t\"audit-log-format\": []any{string(\"json\")},\n+ \t\t\t\"audit-log-maxbackup\": - []any{string(\"10\")},\n+ \t\t\t\"audit-log-maxsize\": []any{string(\"100\")},\n+ - \t\t\t\"audit-log-path\": []any{string(\"/var/log/oauth-server/audit.log\")},\n+ - \t\t\t\"audit-policy-file\": []any{string(\"/var/run/configmaps/audit/audit.\"...)},\n+ - \t\t},\n+ \t\t\"servingInfo\": map[string]any{\n+ \t\t\t\"cipherSuites\": []any{\n+ - \t\t\t\tstring(\"TLS_AES_128_GCM_SHA256\"), string(\"TLS_AES_256_GCM_SHA384\"),\n+ - \t\t\t\tstring(\"TLS_CHACHA20_POLY1305_SHA256\"),\n+ \t\t\t\tstring(\"TLS_ECDHE_ECDSA_WITH_AES_128_GCM\"...), - ...,\n+ \t\t\t},\n+ \t\t\t\"minTLSVersion\": string(\"VersionTLS12\"),\n+ \t\t},\n+ - \t},\n )\n"' -metadata: - name: authentication-operator.17fe72c59b829800.57eb8535 - namespace: openshift-authentication-operator -reason: ObservedConfigChanged -reportingComponent: "" -reportingInstance: "" -source: - component: cluster-authentication-operator-run-once-sync-context -type: Normal diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/49ea-body-authentication-operator.17fe72c59b829800.c605caf3.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/66df-body-authentication-operator.17fe72c59b829800.c605caf3.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/49ea-body-authentication-operator.17fe72c59b829800.c605caf3.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/66df-body-authentication-operator.17fe72c59b829800.c605caf3.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/49ea-metadata-authentication-operator.17fe72c59b829800.c605caf3.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/66df-metadata-authentication-operator.17fe72c59b829800.c605caf3.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/49ea-metadata-authentication-operator.17fe72c59b829800.c605caf3.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/66df-metadata-authentication-operator.17fe72c59b829800.c605caf3.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5a6e-body-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75eb-body-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5a6e-body-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75eb-body-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5a6e-metadata-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75eb-metadata-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5a6e-metadata-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75eb-metadata-authentication-operator.17fe72c59b829800.b8ffb9fd.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1f51-body-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78e6-body-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1f51-body-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78e6-body-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1f51-metadata-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78e6-metadata-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1f51-metadata-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78e6-metadata-authentication-operator.17fe72c59b829800.9dfc3b5d.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13fd-body-authentication-operator.17fe72c59b829800.da44325f.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8379-body-authentication-operator.17fe72c59b829800.da44325f.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13fd-body-authentication-operator.17fe72c59b829800.da44325f.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8379-body-authentication-operator.17fe72c59b829800.da44325f.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13fd-metadata-authentication-operator.17fe72c59b829800.da44325f.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8379-metadata-authentication-operator.17fe72c59b829800.da44325f.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/13fd-metadata-authentication-operator.17fe72c59b829800.da44325f.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8379-metadata-authentication-operator.17fe72c59b829800.da44325f.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f16c-body-authentication-operator.17fe72c59b829800.a8ecfbce.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8daf-body-authentication-operator.17fe72c59b829800.a8ecfbce.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f16c-body-authentication-operator.17fe72c59b829800.a8ecfbce.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8daf-body-authentication-operator.17fe72c59b829800.a8ecfbce.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f16c-metadata-authentication-operator.17fe72c59b829800.a8ecfbce.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8daf-metadata-authentication-operator.17fe72c59b829800.a8ecfbce.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f16c-metadata-authentication-operator.17fe72c59b829800.a8ecfbce.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8daf-metadata-authentication-operator.17fe72c59b829800.a8ecfbce.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/357b-body-authentication-operator.17fe72c59b829800.fd7c2a06.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/953f-body-authentication-operator.17fe72c59b829800.fd7c2a06.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/357b-body-authentication-operator.17fe72c59b829800.fd7c2a06.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/953f-body-authentication-operator.17fe72c59b829800.fd7c2a06.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/357b-metadata-authentication-operator.17fe72c59b829800.fd7c2a06.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/953f-metadata-authentication-operator.17fe72c59b829800.fd7c2a06.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/357b-metadata-authentication-operator.17fe72c59b829800.fd7c2a06.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/953f-metadata-authentication-operator.17fe72c59b829800.fd7c2a06.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5169-body-authentication-operator.17fe72c59b829800.ad6de22d.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9a63-body-authentication-operator.17fe72c59b829800.f737230b.yaml similarity index 60% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5169-body-authentication-operator.17fe72c59b829800.ad6de22d.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9a63-body-authentication-operator.17fe72c59b829800.f737230b.yaml index b1ea80df1..da4506866 100644 --- a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5169-body-authentication-operator.17fe72c59b829800.ad6de22d.yaml +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9a63-body-authentication-operator.17fe72c59b829800.f737230b.yaml @@ -13,14 +13,13 @@ message: 'Status for clusteroperator/authentication changed: Degraded set to Unk to Unknown (""),EvaluationConditionsDetected set to Unknown (""),status.relatedObjects changed from [] to [{"operator.openshift.io" "authentications" "" "cluster"} {"config.openshift.io" "authentications" "" "cluster"} {"config.openshift.io" "infrastructures" "" "cluster"} - {"config.openshift.io" "oauths" "" "cluster"} {"route.openshift.io" "routes" "openshift-authentication" - "oauth-openshift"} {"" "services" "openshift-authentication" "oauth-openshift"} - {"" "namespaces" "" "openshift-config"} {"" "namespaces" "" "openshift-config-managed"} - {"" "namespaces" "" "openshift-authentication"} {"" "namespaces" "" "openshift-authentication-operator"} - {"" "namespaces" "" "openshift-ingress"} {"" "namespaces" "" "openshift-oauth-apiserver"}],status.versions - changed from [] to [{"operator" ""}]' + {"config.openshift.io" "oauths" "" "cluster"} {"" "namespaces" "" "openshift-config"} + {"" "namespaces" "" "openshift-config-managed"} {"" "namespaces" "" "openshift-authentication"} + {"" "namespaces" "" "openshift-authentication-operator"} {"" "namespaces" "" "openshift-ingress"} + {"" "namespaces" "" "openshift-oauth-apiserver"}],status.versions changed from [] + to [{"operator" ""}]' metadata: - name: authentication-operator.17fe72c59b829800.ad6de22d + name: authentication-operator.17fe72c59b829800.f737230b namespace: openshift-authentication-operator reason: OperatorStatusChanged reportingComponent: "" diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6471-metadata-authentication-operator.17fe72c59b829800.57eb8535.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9a63-metadata-authentication-operator.17fe72c59b829800.f737230b.yaml similarity index 74% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6471-metadata-authentication-operator.17fe72c59b829800.57eb8535.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9a63-metadata-authentication-operator.17fe72c59b829800.f737230b.yaml index 208ed73bd..0e8f9a373 100644 --- a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6471-metadata-authentication-operator.17fe72c59b829800.57eb8535.yaml +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9a63-metadata-authentication-operator.17fe72c59b829800.f737230b.yaml @@ -1,7 +1,7 @@ action: Create controllerInstanceName: "" generateName: "" -name: authentication-operator.17fe72c59b829800.57eb8535 +name: authentication-operator.17fe72c59b829800.f737230b namespace: openshift-authentication-operator resourceType: Group: "" diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/adcf-body-authentication-operator.17fe72c59b829800.9b8e044a.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9bec-body-authentication-operator.17fe72c59b829800.9b8e044a.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/adcf-body-authentication-operator.17fe72c59b829800.9b8e044a.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9bec-body-authentication-operator.17fe72c59b829800.9b8e044a.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/adcf-metadata-authentication-operator.17fe72c59b829800.9b8e044a.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9bec-metadata-authentication-operator.17fe72c59b829800.9b8e044a.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/adcf-metadata-authentication-operator.17fe72c59b829800.9b8e044a.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/9bec-metadata-authentication-operator.17fe72c59b829800.9b8e044a.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/7f1e-body-authentication-operator.17fe72c59b829800.7cfd43de.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a2b3-body-authentication-operator.17fe72c59b829800.7cfd43de.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/7f1e-body-authentication-operator.17fe72c59b829800.7cfd43de.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a2b3-body-authentication-operator.17fe72c59b829800.7cfd43de.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/7f1e-metadata-authentication-operator.17fe72c59b829800.7cfd43de.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a2b3-metadata-authentication-operator.17fe72c59b829800.7cfd43de.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/7f1e-metadata-authentication-operator.17fe72c59b829800.7cfd43de.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a2b3-metadata-authentication-operator.17fe72c59b829800.7cfd43de.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3ca6-body-authentication-operator.17fe72c59b829800.44a05c38.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ab40-body-authentication-operator.17fe72c59b829800.44a05c38.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3ca6-body-authentication-operator.17fe72c59b829800.44a05c38.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ab40-body-authentication-operator.17fe72c59b829800.44a05c38.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3ca6-metadata-authentication-operator.17fe72c59b829800.44a05c38.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ab40-metadata-authentication-operator.17fe72c59b829800.44a05c38.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3ca6-metadata-authentication-operator.17fe72c59b829800.44a05c38.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ab40-metadata-authentication-operator.17fe72c59b829800.44a05c38.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/006e-body-authentication-operator.17fe72c59b829800.cc404894.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/abe3-body-authentication-operator.17fe72c59b829800.cc404894.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/006e-body-authentication-operator.17fe72c59b829800.cc404894.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/abe3-body-authentication-operator.17fe72c59b829800.cc404894.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/006e-metadata-authentication-operator.17fe72c59b829800.cc404894.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/abe3-metadata-authentication-operator.17fe72c59b829800.cc404894.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/006e-metadata-authentication-operator.17fe72c59b829800.cc404894.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/abe3-metadata-authentication-operator.17fe72c59b829800.cc404894.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/37d9-body-authentication-operator.17fe72c59b829800.651f7f3f.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad2e-body-authentication-operator.17fe72c59b829800.651f7f3f.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/37d9-body-authentication-operator.17fe72c59b829800.651f7f3f.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad2e-body-authentication-operator.17fe72c59b829800.651f7f3f.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/37d9-metadata-authentication-operator.17fe72c59b829800.651f7f3f.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad2e-metadata-authentication-operator.17fe72c59b829800.651f7f3f.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/37d9-metadata-authentication-operator.17fe72c59b829800.651f7f3f.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad2e-metadata-authentication-operator.17fe72c59b829800.651f7f3f.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a103-body-authentication-operator.17fe72c59b829800.8953695d.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b8a3-body-authentication-operator.17fe72c59b829800.8953695d.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a103-body-authentication-operator.17fe72c59b829800.8953695d.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b8a3-body-authentication-operator.17fe72c59b829800.8953695d.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a103-metadata-authentication-operator.17fe72c59b829800.8953695d.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b8a3-metadata-authentication-operator.17fe72c59b829800.8953695d.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a103-metadata-authentication-operator.17fe72c59b829800.8953695d.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b8a3-metadata-authentication-operator.17fe72c59b829800.8953695d.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/73f2-body-authentication-operator.17fe72c59b829800.df0f8e47.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bffe-body-authentication-operator.17fe72c59b829800.df0f8e47.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/73f2-body-authentication-operator.17fe72c59b829800.df0f8e47.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bffe-body-authentication-operator.17fe72c59b829800.df0f8e47.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/73f2-metadata-authentication-operator.17fe72c59b829800.df0f8e47.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bffe-metadata-authentication-operator.17fe72c59b829800.df0f8e47.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/73f2-metadata-authentication-operator.17fe72c59b829800.df0f8e47.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bffe-metadata-authentication-operator.17fe72c59b829800.df0f8e47.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ccdf-body-authentication-operator.17fe72c59b829800.616f1c0f.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ccdf-body-authentication-operator.17fe72c59b829800.616f1c0f.yaml new file mode 100644 index 000000000..644b68115 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ccdf-body-authentication-operator.17fe72c59b829800.616f1c0f.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2024-10-14T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2024-10-14T22:38:20Z" +message: 'Writing updated section ("oauthServer") of observed config: "@@ -1 +1,44 + @@\n-null\n+{\n+ \"corsAllowedOrigins\": [\n+ \"//127\\\\.0\\\\.0\\\\.1(:|$)\",\n+ \"//localhost(:|$)\"\n+ + ],\n+ \"oauthConfig\": {\n+ \"loginURL\": \"https://api.ostest.test.metalkube.org:6443\",\n+ \"tokenConfig\": + {\n+ \"accessTokenMaxAgeSeconds\": 86400,\n+ \"authorizeTokenMaxAgeSeconds\": + 300\n+ }\n+ },\n+ \"serverArguments\": {\n+ \"audit-log-format\": [\n+ \"json\"\n+ ],\n+ \"audit-log-maxbackup\": + [\n+ \"10\"\n+ ],\n+ \"audit-log-maxsize\": [\n+ \"100\"\n+ ],\n+ \"audit-log-path\": + [\n+ \"/var/log/oauth-server/audit.log\"\n+ ],\n+ \"audit-policy-file\": [\n+ \"/var/run/configmaps/audit/audit.yaml\"\n+ ]\n+ + },\n+ \"servingInfo\": {\n+ \"cipherSuites\": [\n+ \"TLS_AES_128_GCM_SHA256\",\n+ \"TLS_AES_256_GCM_SHA384\",\n+ \"TLS_CHACHA20_POLY1305_SHA256\",\n+ \"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\",\n+ \"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\",\n+ \"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\",\n+ \"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\",\n+ \"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\",\n+ \"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256\"\n+ ],\n+ \"minTLSVersion\": + \"VersionTLS12\"\n+ }\n+}\n"' +metadata: + name: authentication-operator.17fe72c59b829800.616f1c0f + namespace: openshift-authentication-operator +reason: ObservedConfigChanged +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ccdf-metadata-authentication-operator.17fe72c59b829800.616f1c0f.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ccdf-metadata-authentication-operator.17fe72c59b829800.616f1c0f.yaml new file mode 100644 index 000000000..6c2fcc76d --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ccdf-metadata-authentication-operator.17fe72c59b829800.616f1c0f.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: "" +generateName: "" +name: authentication-operator.17fe72c59b829800.616f1c0f +namespace: openshift-authentication-operator +resourceType: + Group: "" + Resource: events + Version: v1 diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cedd-body-authentication-operator.17fe72c59b829800.96072a72.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cedd-body-authentication-operator.17fe72c59b829800.96072a72.yaml new file mode 100644 index 000000000..3a68ebd6b --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cedd-body-authentication-operator.17fe72c59b829800.96072a72.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2024-10-14T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2024-10-14T22:38:20Z" +message: Created NetworkPolicy.networking.k8s.io/oauth-apiserver-networkpolicy -n + openshift-oauth-apiserver because it was missing +metadata: + name: authentication-operator.17fe72c59b829800.96072a72 + namespace: openshift-authentication-operator +reason: NetworkPolicyCreated +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cedd-metadata-authentication-operator.17fe72c59b829800.96072a72.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cedd-metadata-authentication-operator.17fe72c59b829800.96072a72.yaml new file mode 100644 index 000000000..855274687 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cedd-metadata-authentication-operator.17fe72c59b829800.96072a72.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: "" +generateName: "" +name: authentication-operator.17fe72c59b829800.96072a72 +namespace: openshift-authentication-operator +resourceType: + Group: "" + Resource: events + Version: v1 diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/de10-body-authentication-operator.17fe72c59b829800.2a24f1b5.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/de10-body-authentication-operator.17fe72c59b829800.2a24f1b5.yaml deleted file mode 100644 index 1bf7c3a93..000000000 --- a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/de10-body-authentication-operator.17fe72c59b829800.2a24f1b5.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: v1 -count: 1 -eventTime: null -firstTimestamp: "2024-10-14T22:38:20Z" -involvedObject: - kind: Deployment - name: authentication-operator - namespace: openshift-authentication-operator -kind: Event -lastTimestamp: "2024-10-14T22:38:20Z" -message: 'Writing updated section ("oauthAPIServer") of observed config: " map[string]any(\n- - \tnil,\n+ \t{\n+ \t\t\"apiServerArguments\": map[string]any{\n+ \t\t\t\"api-audiences\": []any{string(\"https://kubernetes.default.svc\")},\n+ - \t\t\t\"cors-allowed-origins\": []any{string(`//127\\.0\\.0\\.1(:|$)`), string(\"//localhost(:|$)\")},\n+ - \t\t\t\"feature-gates\": []any{},\n+ \t\t\t\"tls-cipher-suites\": []any{\n+ - \t\t\t\tstring(\"TLS_AES_128_GCM_SHA256\"), string(\"TLS_AES_256_GCM_SHA384\"),\n+ - \t\t\t\tstring(\"TLS_CHACHA20_POLY1305_SHA256\"),\n+ \t\t\t\tstring(\"TLS_ECDHE_ECDSA_WITH_AES_128_GCM\"...), - ...,\n+ \t\t\t},\n+ \t\t\t\"tls-min-version\": string(\"VersionTLS12\"),\n+ \t\t},\n+ - \t},\n )\n"' -metadata: - name: authentication-operator.17fe72c59b829800.2a24f1b5 - namespace: openshift-authentication-operator -reason: ObservedConfigChanged -reportingComponent: "" -reportingInstance: "" -source: - component: cluster-authentication-operator-run-once-sync-context -type: Normal diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6413-body-authentication-operator.17fe72c59b829800.52f3c122.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e212-body-authentication-operator.17fe72c59b829800.52f3c122.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6413-body-authentication-operator.17fe72c59b829800.52f3c122.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e212-body-authentication-operator.17fe72c59b829800.52f3c122.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6413-metadata-authentication-operator.17fe72c59b829800.52f3c122.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e212-metadata-authentication-operator.17fe72c59b829800.52f3c122.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6413-metadata-authentication-operator.17fe72c59b829800.52f3c122.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e212-metadata-authentication-operator.17fe72c59b829800.52f3c122.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e0b5-body-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e2d5-body-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e0b5-body-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e2d5-body-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e0b5-metadata-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e2d5-metadata-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e0b5-metadata-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/e2d5-metadata-authentication-operator.17fe72c59b829800.ce8a3f4a.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fb69-body-authentication-operator.17fe72c59b829800.2a6d0210.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fb69-body-authentication-operator.17fe72c59b829800.2a6d0210.yaml new file mode 100644 index 000000000..1fe573c5d --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fb69-body-authentication-operator.17fe72c59b829800.2a6d0210.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2024-10-14T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2024-10-14T22:38:20Z" +message: Created NetworkPolicy.networking.k8s.io/oauth-server-networkpolicy -n openshift-authentication + because it was missing +metadata: + name: authentication-operator.17fe72c59b829800.2a6d0210 + namespace: openshift-authentication-operator +reason: NetworkPolicyCreated +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fb69-metadata-authentication-operator.17fe72c59b829800.2a6d0210.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fb69-metadata-authentication-operator.17fe72c59b829800.2a6d0210.yaml new file mode 100644 index 000000000..73ac0a858 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fb69-metadata-authentication-operator.17fe72c59b829800.2a6d0210.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: "" +generateName: "" +name: authentication-operator.17fe72c59b829800.2a6d0210 +namespace: openshift-authentication-operator +resourceType: + Group: "" + Resource: events + Version: v1 diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-body-audit.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-body-audit.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-body-audit.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-body-audit.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-metadata-audit.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-metadata-audit.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-metadata-audit.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-metadata-audit.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-body-v4-0-config-system-trusted-ca-bundle.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-body-v4-0-config-system-trusted-ca-bundle.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-body-v4-0-config-system-trusted-ca-bundle.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-body-v4-0-config-system-trusted-ca-bundle.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-metadata-v4-0-config-system-trusted-ca-bundle.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-metadata-v4-0-config-system-trusted-ca-bundle.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-metadata-v4-0-config-system-trusted-ca-bundle.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-metadata-v4-0-config-system-trusted-ca-bundle.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-body-v4-0-config-system-ocp-branding-template.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-body-v4-0-config-system-ocp-branding-template.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-body-v4-0-config-system-ocp-branding-template.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-body-v4-0-config-system-ocp-branding-template.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-metadata-v4-0-config-system-ocp-branding-template.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-metadata-v4-0-config-system-ocp-branding-template.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-metadata-v4-0-config-system-ocp-branding-template.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-metadata-v4-0-config-system-ocp-branding-template.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-body-oauth-openshift.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-body-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-body-oauth-openshift.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-body-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-metadata-oauth-openshift.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-metadata-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-metadata-oauth-openshift.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-metadata-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-body-oauth-openshift.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-body-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-body-oauth-openshift.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-body-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-metadata-oauth-openshift.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-metadata-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-metadata-oauth-openshift.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-metadata-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-body-default-deny-all.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-body-default-deny-all.yaml new file mode 100644 index 000000000..01fcba4db --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-body-default-deny-all.yaml @@ -0,0 +1,10 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: default-deny-all + namespace: openshift-authentication +spec: + podSelector: {} + policyTypes: + - Ingress + - Egress diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-metadata-default-deny-all.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-metadata-default-deny-all.yaml new file mode 100644 index 000000000..a255cbcf3 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-metadata-default-deny-all.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: TODO-staticResourceController +generateName: "" +name: default-deny-all +namespace: openshift-authentication +resourceType: + Group: networking.k8s.io + Resource: networkpolicies + Version: v1 diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-body-oauth-server-networkpolicy.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-body-oauth-server-networkpolicy.yaml new file mode 100644 index 000000000..8e5c0fcb2 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-body-oauth-server-networkpolicy.yaml @@ -0,0 +1,62 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: oauth-server-networkpolicy + namespace: openshift-authentication +spec: + egress: + - ports: + - port: 5353 + protocol: TCP + - port: 5353 + protocol: UDP + to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-dns + podSelector: + matchLabels: + dns.operator.openshift.io/daemonset-dns: default + - ports: + - port: 8443 + protocol: TCP + to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-oauth-apiserver + podSelector: + matchLabels: + app: openshift-oauth-apiserver + - {} + ingress: + - ports: + - port: 6443 + protocol: TCP + - from: + - namespaceSelector: + matchLabels: + policy-group.network.openshift.io/ingress: "" + ports: + - port: 6443 + protocol: TCP + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication-operator + podSelector: + matchLabels: + app: authentication-operator + ports: + - port: 6443 + protocol: TCP + - from: + - namespaceSelector: {} + ports: + - port: 6443 + protocol: TCP + podSelector: + matchLabels: + app: oauth-openshift + policyTypes: + - Ingress + - Egress diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-metadata-oauth-server-networkpolicy.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-metadata-oauth-server-networkpolicy.yaml new file mode 100644 index 000000000..24f5490b7 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-metadata-oauth-server-networkpolicy.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: TODO-staticResourceController +generateName: "" +name: oauth-server-networkpolicy +namespace: openshift-authentication +resourceType: + Group: networking.k8s.io + Resource: networkpolicies + Version: v1 diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/312e-body-default-deny-all.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/312e-body-default-deny-all.yaml new file mode 100644 index 000000000..f38f5905d --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/312e-body-default-deny-all.yaml @@ -0,0 +1,10 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: default-deny-all + namespace: openshift-oauth-apiserver +spec: + podSelector: {} + policyTypes: + - Ingress + - Egress diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/312e-metadata-default-deny-all.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/312e-metadata-default-deny-all.yaml new file mode 100644 index 000000000..2f0344369 --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/312e-metadata-default-deny-all.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: APIServerStaticResources-StaticResources +generateName: "" +name: default-deny-all +namespace: openshift-oauth-apiserver +resourceType: + Group: networking.k8s.io + Resource: networkpolicies + Version: v1 diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/bd95-body-oauth-apiserver-networkpolicy.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/bd95-body-oauth-apiserver-networkpolicy.yaml new file mode 100644 index 000000000..4205e629a --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/bd95-body-oauth-apiserver-networkpolicy.yaml @@ -0,0 +1,63 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: oauth-apiserver-networkpolicy + namespace: openshift-oauth-apiserver +spec: + egress: + - ports: + - port: 5353 + protocol: TCP + - port: 5353 + protocol: UDP + to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-dns + podSelector: + matchLabels: + dns.operator.openshift.io/daemonset-dns: default + - ports: + - port: 2379 + protocol: TCP + to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-etcd + podSelector: + matchLabels: + app: etcd + - {} + ingress: + - ports: + - port: 8443 + protocol: TCP + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication + podSelector: + matchLabels: + app: oauth-openshift + ports: + - port: 8443 + protocol: TCP + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication-operator + podSelector: + matchLabels: + app: authentication-operator + ports: + - port: 8443 + protocol: TCP + - ports: + - port: 8443 + protocol: TCP + podSelector: + matchLabels: + app: openshift-oauth-apiserver + policyTypes: + - Ingress + - Egress diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/bd95-metadata-oauth-apiserver-networkpolicy.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/bd95-metadata-oauth-apiserver-networkpolicy.yaml new file mode 100644 index 000000000..43a94915d --- /dev/null +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/networking.k8s.io/networkpolicies/bd95-metadata-oauth-apiserver-networkpolicy.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: APIServerStaticResources-StaticResources +generateName: "" +name: oauth-apiserver-networkpolicy +namespace: openshift-oauth-apiserver +resourceType: + Group: networking.k8s.io + Resource: networkpolicies + Version: v1 diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/5a7c-body-oauth-apiserver-pdb.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/9c75-body-oauth-apiserver-pdb.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/5a7c-body-oauth-apiserver-pdb.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/9c75-body-oauth-apiserver-pdb.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/5a7c-metadata-oauth-apiserver-pdb.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/9c75-metadata-oauth-apiserver-pdb.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/5a7c-metadata-oauth-apiserver-pdb.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/policy/poddisruptionbudgets/9c75-metadata-oauth-apiserver-pdb.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/85c3-body-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/7130-body-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/85c3-body-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/7130-body-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/85c3-metadata-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/7130-metadata-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/85c3-metadata-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/Management/UpdateStatus/cluster-scoped-resources/config.openshift.io/clusteroperators/7130-metadata-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-body-rolebindingrestrictions.authorization.openshift.io.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-body-rolebindingrestrictions.authorization.openshift.io.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-body-rolebindingrestrictions.authorization.openshift.io.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-body-rolebindingrestrictions.authorization.openshift.io.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-metadata-rolebindingrestrictions.authorization.openshift.io.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-metadata-rolebindingrestrictions.authorization.openshift.io.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-metadata-rolebindingrestrictions.authorization.openshift.io.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-metadata-rolebindingrestrictions.authorization.openshift.io.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/1410-body-system-COLON-openshift-COLON-openshift-authenticator-.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/d52a-body-system-COLON-openshift-COLON-openshift-authenticator-.yaml similarity index 66% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/1410-body-system-COLON-openshift-COLON-openshift-authenticator-.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/d52a-body-system-COLON-openshift-COLON-openshift-authenticator-.yaml index cdc15614e..14e48eb72 100644 --- a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/1410-body-system-COLON-openshift-COLON-openshift-authenticator-.yaml +++ b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/d52a-body-system-COLON-openshift-COLON-openshift-authenticator-.yaml @@ -5,7 +5,7 @@ metadata: labels: authentication.openshift.io/csr: openshift-authenticator spec: - request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQkRqQ0J0QUlCQURCU01WQXdUZ1lEVlFRREUwZHplWE4wWlcwNmMyVnlkbWxqWldGalkyOTFiblE2YjNCbApibk5vYVdaMExXOWhkWFJvTFdGd2FYTmxjblpsY2pwdmNHVnVjMmhwWm5RdFlYVjBhR1Z1ZEdsallYUnZjakJaCk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQkZXa2oySTY0dEZSY2VKM0ppcWJOLzBWcXZBajhVQ2QKbVJuQjFtcmZoVzFlV09GNDJFT2dSY3pvbXYvQ0Z4R3JaQmZud0lZS3pIZ0hWT1dUVGlYQ1JjZWdBREFLQmdncQpoa2pPUFFRREFnTkpBREJHQWlFQTl1Nk8xRzZSeU1YOEpQOFlhUHN0TU4weVQvQVlYMzU0U3owc0FobGFuV3NDCklRRGFSczBnR2NnZlhrbU54QnpWVzB3RHpZYk9jSy8welJQMmhyZzdxK3BmbGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0K + request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQkRqQ0J0QUlCQURCU01WQXdUZ1lEVlFRREUwZHplWE4wWlcwNmMyVnlkbWxqWldGalkyOTFiblE2YjNCbApibk5vYVdaMExXOWhkWFJvTFdGd2FYTmxjblpsY2pwdmNHVnVjMmhwWm5RdFlYVjBhR1Z1ZEdsallYUnZjakJaCk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQkZHbTBMbmJJd1puWTB0NGR1UzlubXlsSkV1UUNpVnUKdnJrWUxsclFOclhlTUo5dGZxMFRrZFVJaGk5cGlzYjc3Wis0Y2kwU3pacEdyTHMvZGxtNWVRS2dBREFLQmdncQpoa2pPUFFRREFnTkpBREJHQWlFQXhyVDh0RzUybUh0QmorSThLYU5MdjJSS2JVbDFQb01DUXJRNmIweWw2eDhDCklRRFY5TFBqcm4yeEd0djA4UC85aG9PeTY1a3NxSkdRdzlYUnpDTmZmZEwwNFE9PQotLS0tLUVORCBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0K signerName: kubernetes.io/kube-apiserver-client usages: - digital signature diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/1410-metadata-system-COLON-openshift-COLON-openshift-authenticator-.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/d52a-metadata-system-COLON-openshift-COLON-openshift-authenticator-.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/1410-metadata-system-COLON-openshift-COLON-openshift-authenticator-.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/certificates.k8s.io/certificatesigningrequests/d52a-metadata-system-COLON-openshift-COLON-openshift-authenticator-.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-body-system-COLON-openshift-COLON-openshift-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-body-system-COLON-openshift-COLON-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-body-system-COLON-openshift-COLON-openshift-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-body-system-COLON-openshift-COLON-openshift-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/19fc-body-system-COLON-openshift-COLON-oauth-apiserver.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/af44-body-system-COLON-openshift-COLON-oauth-apiserver.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/19fc-body-system-COLON-openshift-COLON-oauth-apiserver.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/af44-body-system-COLON-openshift-COLON-oauth-apiserver.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/19fc-metadata-system-COLON-openshift-COLON-oauth-apiserver.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/af44-metadata-system-COLON-openshift-COLON-oauth-apiserver.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/19fc-metadata-system-COLON-openshift-COLON-oauth-apiserver.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/af44-metadata-system-COLON-openshift-COLON-oauth-apiserver.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/fe36-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/c9fd-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/fe36-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/c9fd-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/fe36-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/c9fd-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/fe36-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/c9fd-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/13cc-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/e7c9-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/13cc-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/e7c9-body-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/13cc-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/e7c9-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/13cc-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/e7c9-metadata-system-COLON-openshift-COLON-useroauthaccesstoken-manager.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/4ddd-body-oauth-apiserver-sa.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/47ac-body-oauth-apiserver-sa.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/4ddd-body-oauth-apiserver-sa.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/47ac-body-oauth-apiserver-sa.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/4ddd-metadata-oauth-apiserver-sa.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/47ac-metadata-oauth-apiserver-sa.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/4ddd-metadata-oauth-apiserver-sa.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/serviceaccounts/47ac-metadata-oauth-apiserver-sa.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/dfd1-body-api.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/0908-body-api.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/dfd1-body-api.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/0908-body-api.yaml diff --git a/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/dfd1-metadata-api.yaml b/test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/0908-metadata-api.yaml similarity index 100% rename from test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/dfd1-metadata-api.yaml rename to test-data/apply-configuration/overall/minimal-cluster/expected-output/UserWorkload/Create/namespaces/openshift-oauth-apiserver/core/services/0908-metadata-api.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0dc4-body-authentication-operator.18599d2230299800.5f2cc1a1.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0dc4-body-authentication-operator.18599d2230299800.5f2cc1a1.yaml deleted file mode 100644 index 5cc0b5ee4..000000000 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0dc4-body-authentication-operator.18599d2230299800.5f2cc1a1.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: v1 -count: 1 -eventTime: null -firstTimestamp: "2025-08-07T22:38:20Z" -involvedObject: - kind: Deployment - name: authentication-operator - namespace: openshift-authentication-operator -kind: Event -lastTimestamp: "2025-08-07T22:38:20Z" -message: 'Writing updated section ("oauthServer") of observed config: "\u00a0\u00a0map[string]any{\n+\u00a0\t\"corsAllowedOrigins\": - []any{string(`//127\\.0\\.0\\.1(:|$)`), string(\"//localhost(:|$)\")},\n+\u00a0\t\"oauthConfig\": - map[string]any{\n+\u00a0\t\t\"assetPublicURL\": string(\"https://console-openshift-console.apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX\"),\n+\u00a0\t\t\"loginURL\": string(\"https://api.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX:6443\"),\n+\u00a0\t\t\"tokenConfig\": - map[string]any{\n+\u00a0\t\t\t\"accessTokenMaxAgeSeconds\": float64(86400),\n+\u00a0\t\t\t\"authorizeTokenMaxAgeSeconds\": - float64(300),\n+\u00a0\t\t},\n+\u00a0\t},\n-\u00a0\t\"serverArguments\": nil,\n+\u00a0\t\"serverArguments\": - map[string]any{\n+\u00a0\t\t\"audit-log-format\": []any{string(\"json\")},\n+\u00a0\t\t\"audit-log-maxbackup\": - []any{string(\"10\")},\n+\u00a0\t\t\"audit-log-maxsize\": []any{string(\"100\")},\n+\u00a0\t\t\"audit-log-path\": []any{string(\"/var/log/oauth-server/audit.log\")},\n+\u00a0\t\t\"audit-policy-file\": []any{string(\"/var/run/configmaps/audit/audit.yaml\")},\n+\u00a0\t},\n+\u00a0\t\"servingInfo\": - map[string]any{\n+\u00a0\t\t\"cipherSuites\": []any{\n+\u00a0\t\t\tstring(\"TLS_AES_128_GCM_SHA256\"), - string(\"TLS_AES_256_GCM_SHA384\"),\n+\u00a0\t\t\tstring(\"TLS_CHACHA20_POLY1305_SHA256\"),\n+\u00a0\t\t\tstring(\"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\"),\n+\u00a0\t\t\tstring(\"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\"),\n+\u00a0\t\t\tstring(\"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\"),\n+\u00a0\t\t\tstring(\"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\"),\n+\u00a0\t\t\tstring(\"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\"), - ...,\n+\u00a0\t\t},\n+\u00a0\t\t\"minTLSVersion\": string(\"VersionTLS12\"),\n+\u00a0\t\t\"namedCertificates\": - []any{\n+\u00a0\t\t\tmap[string]any{\n+\u00a0\t\t\t\t\"certFile\": string(\"/var/config/system/secrets/v4-0-\"...),\n+\u00a0\t\t\t\t\"keyFile\": string(\"/var/config/system/secrets/v4-0-\"...),\n+\u00a0\t\t\t\t\"names\": []any{...},\n+\u00a0\t\t\t},\n+\u00a0\t\t},\n+\u00a0\t},\n+\u00a0\t\"volumesToMount\": - map[string]any{\"identityProviders\": string(\"{}\")},\n\u00a0\u00a0}\n"' -metadata: - creationTimestamp: null - name: authentication-operator.18599d2230299800.5f2cc1a1 - namespace: openshift-authentication-operator -reason: ObservedConfigChanged -reportingComponent: "" -reportingInstance: "" -source: - component: cluster-authentication-operator-run-once-sync-context -type: Normal diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ae22-body-authentication-operator.18599d2230299800.a8ecfbce.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f97-body-authentication-operator.18599d2230299800.a8ecfbce.yaml similarity index 96% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ae22-body-authentication-operator.18599d2230299800.a8ecfbce.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f97-body-authentication-operator.18599d2230299800.a8ecfbce.yaml index 7ac7f4702..e8cf717a9 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ae22-body-authentication-operator.18599d2230299800.a8ecfbce.yaml +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f97-body-authentication-operator.18599d2230299800.a8ecfbce.yaml @@ -11,7 +11,6 @@ lastTimestamp: "2025-08-07T22:38:20Z" message: AuditProfile changed from '%!s()' to 'map[audit-log-format:[json] audit-log-maxbackup:[10] audit-log-maxsize:[100] audit-log-path:[/var/log/oauth-server/audit.log] audit-policy-file:[/var/run/configmaps/audit/audit.yaml]]' metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.a8ecfbce namespace: openshift-authentication-operator reason: ObserveAuditProfile diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ae22-metadata-authentication-operator.18599d2230299800.a8ecfbce.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f97-metadata-authentication-operator.18599d2230299800.a8ecfbce.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ae22-metadata-authentication-operator.18599d2230299800.a8ecfbce.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3f97-metadata-authentication-operator.18599d2230299800.a8ecfbce.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1125-body-authentication-operator.18599d2230299800.6182ed8c.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/76e5-body-authentication-operator.18599d2230299800.6182ed8c.yaml similarity index 96% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1125-body-authentication-operator.18599d2230299800.6182ed8c.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/76e5-body-authentication-operator.18599d2230299800.6182ed8c.yaml index 8c8e346b6..da6a0f8ff 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1125-body-authentication-operator.18599d2230299800.6182ed8c.yaml +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/76e5-body-authentication-operator.18599d2230299800.6182ed8c.yaml @@ -10,7 +10,6 @@ kind: Event lastTimestamp: "2025-08-07T22:38:20Z" message: assetPublicURL changed from to https://console-openshift-console.apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.6182ed8c namespace: openshift-authentication-operator reason: ObserveConsoleURL diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1125-metadata-authentication-operator.18599d2230299800.6182ed8c.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/76e5-metadata-authentication-operator.18599d2230299800.6182ed8c.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/1125-metadata-authentication-operator.18599d2230299800.6182ed8c.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/76e5-metadata-authentication-operator.18599d2230299800.6182ed8c.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/aa39-body-authentication-operator.18599d2230299800.44a05c38.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78cb-body-authentication-operator.18599d2230299800.44a05c38.yaml similarity index 95% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/aa39-body-authentication-operator.18599d2230299800.44a05c38.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78cb-body-authentication-operator.18599d2230299800.44a05c38.yaml index 85b27b9c2..9c82f3eca 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/aa39-body-authentication-operator.18599d2230299800.44a05c38.yaml +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78cb-body-authentication-operator.18599d2230299800.44a05c38.yaml @@ -10,7 +10,6 @@ kind: Event lastTimestamp: "2025-08-07T22:38:20Z" message: minTLSVersion changed to VersionTLS12 metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.44a05c38 namespace: openshift-authentication-operator reason: ObserveTLSSecurityProfile diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/aa39-metadata-authentication-operator.18599d2230299800.44a05c38.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78cb-metadata-authentication-operator.18599d2230299800.44a05c38.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/aa39-metadata-authentication-operator.18599d2230299800.44a05c38.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/78cb-metadata-authentication-operator.18599d2230299800.44a05c38.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cfad-body-authentication-operator.18599d2230299800.49fb0e36.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a240-body-authentication-operator.18599d2230299800.49fb0e36.yaml similarity index 97% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cfad-body-authentication-operator.18599d2230299800.49fb0e36.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a240-body-authentication-operator.18599d2230299800.49fb0e36.yaml index 93841c144..24f8d2174 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cfad-body-authentication-operator.18599d2230299800.49fb0e36.yaml +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a240-body-authentication-operator.18599d2230299800.49fb0e36.yaml @@ -13,7 +13,6 @@ message: cipherSuites changed to ["TLS_AES_128_GCM_SHA256" "TLS_AES_256_GCM_SHA3 "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256" "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256"] metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.49fb0e36 namespace: openshift-authentication-operator reason: ObserveTLSSecurityProfile diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cfad-metadata-authentication-operator.18599d2230299800.49fb0e36.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a240-metadata-authentication-operator.18599d2230299800.49fb0e36.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/cfad-metadata-authentication-operator.18599d2230299800.49fb0e36.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a240-metadata-authentication-operator.18599d2230299800.49fb0e36.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5d38-body-authentication-operator.18599d2230299800.1d05f9ac.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b702-body-authentication-operator.18599d2230299800.1d05f9ac.yaml similarity index 95% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5d38-body-authentication-operator.18599d2230299800.1d05f9ac.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b702-body-authentication-operator.18599d2230299800.1d05f9ac.yaml index 8c1d265bf..ce05c7f77 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5d38-body-authentication-operator.18599d2230299800.1d05f9ac.yaml +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b702-body-authentication-operator.18599d2230299800.1d05f9ac.yaml @@ -10,7 +10,6 @@ kind: Event lastTimestamp: "2025-08-07T22:38:20Z" message: loginURL changed from to https://api.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX:6443 metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.1d05f9ac namespace: openshift-authentication-operator reason: ObserveAPIServerURL diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5d38-metadata-authentication-operator.18599d2230299800.1d05f9ac.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b702-metadata-authentication-operator.18599d2230299800.1d05f9ac.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5d38-metadata-authentication-operator.18599d2230299800.1d05f9ac.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b702-metadata-authentication-operator.18599d2230299800.1d05f9ac.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d9cf-body-authentication-operator.18599d2230299800.560dcb58.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d9cf-body-authentication-operator.18599d2230299800.560dcb58.yaml new file mode 100644 index 000000000..622a707d3 --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d9cf-body-authentication-operator.18599d2230299800.560dcb58.yaml @@ -0,0 +1,32 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2025-08-07T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2025-08-07T22:38:20Z" +message: 'Writing updated section ("oauthServer") of observed config: "@@ -1,3 +1,57 + @@\n {\n- \"serverArguments\": null\n+ \"corsAllowedOrigins\": [\n+ \"//127\\\\.0\\\\.0\\\\.1(:|$)\",\n+ \"//localhost(:|$)\"\n+ + ],\n+ \"oauthConfig\": {\n+ \"assetPublicURL\": \"https://console-openshift-console.apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX\",\n+ \"loginURL\": + \"https://api.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX:6443\",\n+ \"tokenConfig\": + {\n+ \"accessTokenMaxAgeSeconds\": 86400,\n+ \"authorizeTokenMaxAgeSeconds\": + 300\n+ }\n+ },\n+ \"serverArguments\": {\n+ \"audit-log-format\": [\n+ \"json\"\n+ ],\n+ \"audit-log-maxbackup\": + [\n+ \"10\"\n+ ],\n+ \"audit-log-maxsize\": [\n+ \"100\"\n+ ],\n+ \"audit-log-path\": + [\n+ \"/var/log/oauth-server/audit.log\"\n+ ],\n+ \"audit-policy-file\": [\n+ \"/var/run/configmaps/audit/audit.yaml\"\n+ ]\n+ + },\n+ \"servingInfo\": {\n+ \"cipherSuites\": [\n+ \"TLS_AES_128_GCM_SHA256\",\n+ \"TLS_AES_256_GCM_SHA384\",\n+ \"TLS_CHACHA20_POLY1305_SHA256\",\n+ \"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\",\n+ \"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\",\n+ \"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\",\n+ \"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\",\n+ \"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\",\n+ \"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256\"\n+ ],\n+ \"minTLSVersion\": + \"VersionTLS12\",\n+ \"namedCertificates\": [\n+ {\n+ \"certFile\": \"/var/config/system/secrets/v4-0-config-system-router-certs/apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX\",\n+ \"keyFile\": + \"/var/config/system/secrets/v4-0-config-system-router-certs/apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX\",\n+ \"names\": + [\n+ \"*.apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX\"\n+ ]\n+ }\n+ ]\n+ + },\n+ \"volumesToMount\": {\n+ \"identityProviders\": \"{}\"\n+ }\n }\n"' +metadata: + name: authentication-operator.18599d2230299800.560dcb58 + namespace: openshift-authentication-operator +reason: ObservedConfigChanged +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d9cf-metadata-authentication-operator.18599d2230299800.560dcb58.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d9cf-metadata-authentication-operator.18599d2230299800.560dcb58.yaml new file mode 100644 index 000000000..6cb59ea4d --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d9cf-metadata-authentication-operator.18599d2230299800.560dcb58.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: "" +generateName: "" +name: authentication-operator.18599d2230299800.560dcb58 +namespace: openshift-authentication-operator +resourceType: + Group: "" + Resource: events + Version: v1 diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ea65-body-authentication-operator.18599d2230299800.2df24af9.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ebf1-body-authentication-operator.18599d2230299800.2df24af9.yaml similarity index 95% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ea65-body-authentication-operator.18599d2230299800.2df24af9.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ebf1-body-authentication-operator.18599d2230299800.2df24af9.yaml index 56d7f13b8..4e4225c0e 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ea65-body-authentication-operator.18599d2230299800.2df24af9.yaml +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ebf1-body-authentication-operator.18599d2230299800.2df24af9.yaml @@ -10,7 +10,6 @@ kind: Event lastTimestamp: "2025-08-07T22:38:20Z" message: accessTokenMaxAgeSeconds changed from %!d(float64=0) to %!d(float64=86400) metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.2df24af9 namespace: openshift-authentication-operator reason: ObserveTokenConfig diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ea65-metadata-authentication-operator.18599d2230299800.2df24af9.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ebf1-metadata-authentication-operator.18599d2230299800.2df24af9.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ea65-metadata-authentication-operator.18599d2230299800.2df24af9.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ebf1-metadata-authentication-operator.18599d2230299800.2df24af9.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75ea-body-authentication-operator.18599d2230299800.6d9ca9b2.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f4a3-body-authentication-operator.18599d2230299800.6d9ca9b2.yaml similarity index 97% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75ea-body-authentication-operator.18599d2230299800.6d9ca9b2.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f4a3-body-authentication-operator.18599d2230299800.6d9ca9b2.yaml index a00ce7837..29b64454b 100644 --- a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75ea-body-authentication-operator.18599d2230299800.6d9ca9b2.yaml +++ b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f4a3-body-authentication-operator.18599d2230299800.6d9ca9b2.yaml @@ -12,7 +12,6 @@ message: namedCertificates changed to []interface {}{map[string]interface {}{"ce "keyFile":"/var/config/system/secrets/v4-0-config-system-router-certs/apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX", "names":[]interface {}{"*.apps.ci-op-gn2pz6q7-69aee.XXXXXXXXXXXXXXXXXXXXXX"}}} metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.6d9ca9b2 namespace: openshift-authentication-operator reason: ObserveRouterSecret diff --git a/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75ea-metadata-authentication-operator.18599d2230299800.6d9ca9b2.yaml b/test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f4a3-metadata-authentication-operator.18599d2230299800.6d9ca9b2.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/75ea-metadata-authentication-operator.18599d2230299800.6d9ca9b2.yaml rename to test-data/apply-configuration/overall/oauth-server-configobserver/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/f4a3-metadata-authentication-operator.18599d2230299800.6d9ca9b2.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6672-body-authentication-operator.18599d2230299800.64fe3b99.yaml b/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d8ba-body-authentication-operator.18599d2230299800.64fe3b99.yaml similarity index 95% rename from test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6672-body-authentication-operator.18599d2230299800.64fe3b99.yaml rename to test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d8ba-body-authentication-operator.18599d2230299800.64fe3b99.yaml index 38efde599..92a0ab2d6 100644 --- a/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6672-body-authentication-operator.18599d2230299800.64fe3b99.yaml +++ b/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d8ba-body-authentication-operator.18599d2230299800.64fe3b99.yaml @@ -11,7 +11,6 @@ lastTimestamp: "2025-08-07T22:38:20Z" message: Created Deployment.apps/oauth-openshift -n openshift-authentication because it was missing metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.64fe3b99 namespace: openshift-authentication-operator reason: DeploymentCreated diff --git a/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6672-metadata-authentication-operator.18599d2230299800.64fe3b99.yaml b/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d8ba-metadata-authentication-operator.18599d2230299800.64fe3b99.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6672-metadata-authentication-operator.18599d2230299800.64fe3b99.yaml rename to test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d8ba-metadata-authentication-operator.18599d2230299800.64fe3b99.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/a3d6-body-oauth-openshift.yaml b/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/2280-body-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/a3d6-body-oauth-openshift.yaml rename to test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/2280-body-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/a3d6-metadata-oauth-openshift.yaml b/test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/2280-metadata-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/a3d6-metadata-oauth-openshift.yaml rename to test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/2280-metadata-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/c450-body-authentication-operator.18599d2230299800.18b41977.yaml b/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/407c-body-authentication-operator.18599d2230299800.18b41977.yaml similarity index 96% rename from test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/c450-body-authentication-operator.18599d2230299800.18b41977.yaml rename to test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/407c-body-authentication-operator.18599d2230299800.18b41977.yaml index 352ecc418..1f1e8bccc 100644 --- a/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/c450-body-authentication-operator.18599d2230299800.18b41977.yaml +++ b/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/407c-body-authentication-operator.18599d2230299800.18b41977.yaml @@ -11,7 +11,6 @@ lastTimestamp: "2025-08-07T22:38:20Z" message: Created ConfigMap/v4-0-config-system-cliconfig -n openshift-authentication because it was missing metadata: - creationTimestamp: null name: authentication-operator.18599d2230299800.18b41977 namespace: openshift-authentication-operator reason: ConfigMapCreated diff --git a/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/c450-metadata-authentication-operator.18599d2230299800.18b41977.yaml b/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/407c-metadata-authentication-operator.18599d2230299800.18b41977.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/c450-metadata-authentication-operator.18599d2230299800.18b41977.yaml rename to test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/407c-metadata-authentication-operator.18599d2230299800.18b41977.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/82b1-body-v4-0-config-system-cliconfig.yaml b/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/2260-body-v4-0-config-system-cliconfig.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/82b1-body-v4-0-config-system-cliconfig.yaml rename to test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/2260-body-v4-0-config-system-cliconfig.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/82b1-metadata-v4-0-config-system-cliconfig.yaml b/test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/2260-metadata-v4-0-config-system-cliconfig.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/82b1-metadata-v4-0-config-system-cliconfig.yaml rename to test-data/apply-configuration/overall/oauth-server-payloadcontroller/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/2260-metadata-v4-0-config-system-cliconfig.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-body-openshift-authentication.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-body-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-body-openshift-authentication.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-body-openshift-authentication.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-metadata-openshift-authentication.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-metadata-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/9a55-metadata-openshift-authentication.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/cluster-scoped-resources/core/namespaces/8528-metadata-openshift-authentication.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a006-body-authentication-operator.18599d2230299800.6c145ec7.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0517-body-authentication-operator.18599d2230299800.6c145ec7.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a006-body-authentication-operator.18599d2230299800.6c145ec7.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0517-body-authentication-operator.18599d2230299800.6c145ec7.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a006-metadata-authentication-operator.18599d2230299800.6c145ec7.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0517-metadata-authentication-operator.18599d2230299800.6c145ec7.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a006-metadata-authentication-operator.18599d2230299800.6c145ec7.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0517-metadata-authentication-operator.18599d2230299800.6c145ec7.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8841-body-authentication-operator.18599d2230299800.c1403ea8.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0a35-body-authentication-operator.18599d2230299800.c1403ea8.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8841-body-authentication-operator.18599d2230299800.c1403ea8.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0a35-body-authentication-operator.18599d2230299800.c1403ea8.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8841-metadata-authentication-operator.18599d2230299800.c1403ea8.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0a35-metadata-authentication-operator.18599d2230299800.c1403ea8.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/8841-metadata-authentication-operator.18599d2230299800.c1403ea8.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/0a35-metadata-authentication-operator.18599d2230299800.c1403ea8.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/835e-body-authentication-operator.18599d2230299800.ce8a3f4a.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/15fd-body-authentication-operator.18599d2230299800.ce8a3f4a.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/835e-body-authentication-operator.18599d2230299800.ce8a3f4a.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/15fd-body-authentication-operator.18599d2230299800.ce8a3f4a.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/835e-metadata-authentication-operator.18599d2230299800.ce8a3f4a.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/15fd-metadata-authentication-operator.18599d2230299800.ce8a3f4a.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/835e-metadata-authentication-operator.18599d2230299800.ce8a3f4a.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/15fd-metadata-authentication-operator.18599d2230299800.ce8a3f4a.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3257-body-authentication-operator.18599d2230299800.2a6d0210.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3257-body-authentication-operator.18599d2230299800.2a6d0210.yaml new file mode 100644 index 000000000..80e8056af --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3257-body-authentication-operator.18599d2230299800.2a6d0210.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2025-08-07T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2025-08-07T22:38:20Z" +message: Created NetworkPolicy.networking.k8s.io/oauth-server-networkpolicy -n openshift-authentication + because it was missing +metadata: + name: authentication-operator.18599d2230299800.2a6d0210 + namespace: openshift-authentication-operator +reason: NetworkPolicyCreated +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3257-metadata-authentication-operator.18599d2230299800.2a6d0210.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3257-metadata-authentication-operator.18599d2230299800.2a6d0210.yaml new file mode 100644 index 000000000..1d5cfe54c --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3257-metadata-authentication-operator.18599d2230299800.2a6d0210.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: "" +generateName: "" +name: authentication-operator.18599d2230299800.2a6d0210 +namespace: openshift-authentication-operator +resourceType: + Group: "" + Resource: events + Version: v1 diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5409-body-authentication-operator.18599d2230299800.ec96ffd6.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5409-body-authentication-operator.18599d2230299800.ec96ffd6.yaml new file mode 100644 index 000000000..fc1660567 --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5409-body-authentication-operator.18599d2230299800.ec96ffd6.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +count: 1 +eventTime: null +firstTimestamp: "2025-08-07T22:38:20Z" +involvedObject: + kind: Deployment + name: authentication-operator + namespace: openshift-authentication-operator +kind: Event +lastTimestamp: "2025-08-07T22:38:20Z" +message: Created NetworkPolicy.networking.k8s.io/default-deny-all -n openshift-authentication + because it was missing +metadata: + name: authentication-operator.18599d2230299800.ec96ffd6 + namespace: openshift-authentication-operator +reason: NetworkPolicyCreated +reportingComponent: "" +reportingInstance: "" +source: + component: cluster-authentication-operator-run-once-sync-context +type: Normal diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5409-metadata-authentication-operator.18599d2230299800.ec96ffd6.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5409-metadata-authentication-operator.18599d2230299800.ec96ffd6.yaml new file mode 100644 index 000000000..60e170f3b --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/5409-metadata-authentication-operator.18599d2230299800.ec96ffd6.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: "" +generateName: "" +name: authentication-operator.18599d2230299800.ec96ffd6 +namespace: openshift-authentication-operator +resourceType: + Group: "" + Resource: events + Version: v1 diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/40cb-body-authentication-operator.18599d2230299800.df0f8e47.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/55c4-body-authentication-operator.18599d2230299800.df0f8e47.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/40cb-body-authentication-operator.18599d2230299800.df0f8e47.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/55c4-body-authentication-operator.18599d2230299800.df0f8e47.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/40cb-metadata-authentication-operator.18599d2230299800.df0f8e47.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/55c4-metadata-authentication-operator.18599d2230299800.df0f8e47.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/40cb-metadata-authentication-operator.18599d2230299800.df0f8e47.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/55c4-metadata-authentication-operator.18599d2230299800.df0f8e47.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3587-body-authentication-operator.18599d2230299800.07abf400.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6114-body-authentication-operator.18599d2230299800.07abf400.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3587-body-authentication-operator.18599d2230299800.07abf400.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6114-body-authentication-operator.18599d2230299800.07abf400.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3587-metadata-authentication-operator.18599d2230299800.07abf400.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6114-metadata-authentication-operator.18599d2230299800.07abf400.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/3587-metadata-authentication-operator.18599d2230299800.07abf400.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/6114-metadata-authentication-operator.18599d2230299800.07abf400.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/02d7-body-authentication-operator.18599d2230299800.a18021d9.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/96ee-body-authentication-operator.18599d2230299800.a18021d9.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/02d7-body-authentication-operator.18599d2230299800.a18021d9.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/96ee-body-authentication-operator.18599d2230299800.a18021d9.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/02d7-metadata-authentication-operator.18599d2230299800.a18021d9.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/96ee-metadata-authentication-operator.18599d2230299800.a18021d9.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/02d7-metadata-authentication-operator.18599d2230299800.a18021d9.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/96ee-metadata-authentication-operator.18599d2230299800.a18021d9.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b600-body-authentication-operator.18599d2230299800.fd7c2a06.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a4b0-body-authentication-operator.18599d2230299800.fd7c2a06.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b600-body-authentication-operator.18599d2230299800.fd7c2a06.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a4b0-body-authentication-operator.18599d2230299800.fd7c2a06.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b600-metadata-authentication-operator.18599d2230299800.fd7c2a06.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a4b0-metadata-authentication-operator.18599d2230299800.fd7c2a06.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/b600-metadata-authentication-operator.18599d2230299800.fd7c2a06.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/a4b0-metadata-authentication-operator.18599d2230299800.fd7c2a06.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d685-body-authentication-operator.18599d2230299800.327a2f38.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bcca-body-authentication-operator.18599d2230299800.327a2f38.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d685-body-authentication-operator.18599d2230299800.327a2f38.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bcca-body-authentication-operator.18599d2230299800.327a2f38.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d685-metadata-authentication-operator.18599d2230299800.327a2f38.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bcca-metadata-authentication-operator.18599d2230299800.327a2f38.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/d685-metadata-authentication-operator.18599d2230299800.327a2f38.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/bcca-metadata-authentication-operator.18599d2230299800.327a2f38.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/85b4-body-authentication-operator.18599d2230299800.8953695d.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/dbdf-body-authentication-operator.18599d2230299800.8953695d.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/85b4-body-authentication-operator.18599d2230299800.8953695d.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/dbdf-body-authentication-operator.18599d2230299800.8953695d.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/85b4-metadata-authentication-operator.18599d2230299800.8953695d.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/dbdf-metadata-authentication-operator.18599d2230299800.8953695d.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/85b4-metadata-authentication-operator.18599d2230299800.8953695d.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/dbdf-metadata-authentication-operator.18599d2230299800.8953695d.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad5c-body-authentication-operator.18599d2230299800.e6f3afa2.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fd80-body-authentication-operator.18599d2230299800.e6f3afa2.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad5c-body-authentication-operator.18599d2230299800.e6f3afa2.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fd80-body-authentication-operator.18599d2230299800.e6f3afa2.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad5c-metadata-authentication-operator.18599d2230299800.e6f3afa2.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fd80-metadata-authentication-operator.18599d2230299800.e6f3afa2.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/ad5c-metadata-authentication-operator.18599d2230299800.e6f3afa2.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication-operator/core/events/fd80-metadata-authentication-operator.18599d2230299800.e6f3afa2.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-body-audit.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-body-audit.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-body-audit.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-body-audit.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-metadata-audit.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-metadata-audit.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/84c5-metadata-audit.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/5f92-metadata-audit.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-body-v4-0-config-system-trusted-ca-bundle.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-body-v4-0-config-system-trusted-ca-bundle.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-body-v4-0-config-system-trusted-ca-bundle.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-body-v4-0-config-system-trusted-ca-bundle.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-metadata-v4-0-config-system-trusted-ca-bundle.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-metadata-v4-0-config-system-trusted-ca-bundle.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/7023-metadata-v4-0-config-system-trusted-ca-bundle.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/configmaps/a742-metadata-v4-0-config-system-trusted-ca-bundle.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-body-v4-0-config-system-ocp-branding-template.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-body-v4-0-config-system-ocp-branding-template.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-body-v4-0-config-system-ocp-branding-template.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-body-v4-0-config-system-ocp-branding-template.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-metadata-v4-0-config-system-ocp-branding-template.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-metadata-v4-0-config-system-ocp-branding-template.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/8da5-metadata-v4-0-config-system-ocp-branding-template.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/secrets/4034-metadata-v4-0-config-system-ocp-branding-template.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-body-oauth-openshift.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-body-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-body-oauth-openshift.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-body-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-metadata-oauth-openshift.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-metadata-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/e784-metadata-oauth-openshift.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/serviceaccounts/a3dc-metadata-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-body-oauth-openshift.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-body-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-body-oauth-openshift.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-body-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-metadata-oauth-openshift.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-metadata-oauth-openshift.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/421e-metadata-oauth-openshift.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/core/services/31c0-metadata-oauth-openshift.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-body-default-deny-all.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-body-default-deny-all.yaml new file mode 100644 index 000000000..01fcba4db --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-body-default-deny-all.yaml @@ -0,0 +1,10 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: default-deny-all + namespace: openshift-authentication +spec: + podSelector: {} + policyTypes: + - Ingress + - Egress diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-metadata-default-deny-all.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-metadata-default-deny-all.yaml new file mode 100644 index 000000000..a255cbcf3 --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/4519-metadata-default-deny-all.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: TODO-staticResourceController +generateName: "" +name: default-deny-all +namespace: openshift-authentication +resourceType: + Group: networking.k8s.io + Resource: networkpolicies + Version: v1 diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-body-oauth-server-networkpolicy.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-body-oauth-server-networkpolicy.yaml new file mode 100644 index 000000000..8e5c0fcb2 --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-body-oauth-server-networkpolicy.yaml @@ -0,0 +1,62 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: oauth-server-networkpolicy + namespace: openshift-authentication +spec: + egress: + - ports: + - port: 5353 + protocol: TCP + - port: 5353 + protocol: UDP + to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-dns + podSelector: + matchLabels: + dns.operator.openshift.io/daemonset-dns: default + - ports: + - port: 8443 + protocol: TCP + to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-oauth-apiserver + podSelector: + matchLabels: + app: openshift-oauth-apiserver + - {} + ingress: + - ports: + - port: 6443 + protocol: TCP + - from: + - namespaceSelector: + matchLabels: + policy-group.network.openshift.io/ingress: "" + ports: + - port: 6443 + protocol: TCP + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-authentication-operator + podSelector: + matchLabels: + app: authentication-operator + ports: + - port: 6443 + protocol: TCP + - from: + - namespaceSelector: {} + ports: + - port: 6443 + protocol: TCP + podSelector: + matchLabels: + app: oauth-openshift + policyTypes: + - Ingress + - Egress diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-metadata-oauth-server-networkpolicy.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-metadata-oauth-server-networkpolicy.yaml new file mode 100644 index 000000000..24f5490b7 --- /dev/null +++ b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-authentication/networking.k8s.io/networkpolicies/808d-metadata-oauth-server-networkpolicy.yaml @@ -0,0 +1,9 @@ +action: Create +controllerInstanceName: TODO-staticResourceController +generateName: "" +name: oauth-server-networkpolicy +namespace: openshift-authentication +resourceType: + Group: networking.k8s.io + Resource: networkpolicies + Version: v1 diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/e0e8-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/rolebindings/735c-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-body-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/8c64-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/Management/Create/namespaces/openshift-config-managed/rbac.authorization.k8s.io/roles/a92b-metadata-system-COLON-openshift-COLON-oauth-servercert-trust.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-body-rolebindingrestrictions.authorization.openshift.io.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-body-rolebindingrestrictions.authorization.openshift.io.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-body-rolebindingrestrictions.authorization.openshift.io.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-body-rolebindingrestrictions.authorization.openshift.io.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-metadata-rolebindingrestrictions.authorization.openshift.io.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-metadata-rolebindingrestrictions.authorization.openshift.io.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/ac83-metadata-rolebindingrestrictions.authorization.openshift.io.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/apiextensions.k8s.io/customresourcedefinitions/c340-metadata-rolebindingrestrictions.authorization.openshift.io.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-body-system-COLON-openshift-COLON-openshift-authentication.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-body-system-COLON-openshift-COLON-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-body-system-COLON-openshift-COLON-openshift-authentication.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-body-system-COLON-openshift-COLON-openshift-authentication.yaml diff --git a/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml b/test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml similarity index 100% rename from test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/65b2-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml rename to test-data/apply-configuration/overall/oauth-server-staticresource/expected-output/UserWorkload/Create/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/4b1b-metadata-system-COLON-openshift-COLON-openshift-authentication.yaml