diff --git a/.github/workflows/k8s_apis_sync.yaml b/.github/workflows/k8s_apis_sync.yaml index 7ab36956bd..a4bb561fa5 100644 --- a/.github/workflows/k8s_apis_sync.yaml +++ b/.github/workflows/k8s_apis_sync.yaml @@ -90,30 +90,30 @@ jobs: EOL } - formatYamlSnippet admission-service.yaml content/embeds/admission-service.md - formatYamlSnippet admission/webhook.yaml content/embeds/admission_webhook.md - formatYamlSnippet examples/v1/rec.yaml content/embeds/rec.md - formatYamlSnippet examples/v1alpha1/reaadb.yaml content/embeds/reaadb.md - formatYamlSnippet examples/v1alpha1/redb.yaml content/embeds/redb.md - formatYamlSnippet examples/v1alpha1/rerc.yaml content/embeds/rerc.md - formatYamlSnippet log_collector/log_collector_role_all_mode.yaml content/embeds/log_collector_role_all_mode.md - formatYamlSnippet log_collector/log_collector_role_restricted_mode.yaml content/embeds/log_collector_role_restricted_mode.md - formatYamlSnippet multi-namespace-redb/operator_cluster_role_binding.yaml content/embeds/multi-ns_operator_cluster_role_binding.md - formatYamlSnippet multi-namespace-redb/operator_cluster_role.yaml content/embeds/multi-ns_operator_cluster_role.md - formatYamlSnippet multi-namespace-redb/role_binding.yaml content/embeds/multi-ns_role_binding.md - formatYamlSnippet multi-namespace-redb/role.yaml content/embeds/multi-ns_role.md - formatYamlSnippet openshift/admission-service.yaml content/embeds/openshift_admission-service.md - formatYamlSnippet openshift/rec_rhel.yaml content/embeds/openshift_rec.md - formatYamlSnippet openshift/role_binding.yaml content/embeds/openshift_role_binding.md - formatYamlSnippet openshift/role.yaml content/embeds/openshift_role.md - formatYamlSnippet openshift/scc.yaml content/embeds/openshift_scc.md - formatYamlSnippet openshift/service_account.yaml content/embeds/openshift_service_account.md - formatYamlSnippet rack_awareness/rack_aware_cluster_role_binding.yaml content/embeds/rack_aware_cluster_role_binding.md - formatYamlSnippet rack_awareness/rack_aware_cluster_role.yaml content/embeds/rack_aware_cluster_role.md - formatYamlSnippet rack_awareness/rack_aware_rec.yaml content/embeds/rack_aware_rec.md - formatYamlSnippet role_binding.yaml content/embeds/role_binding.md - formatYamlSnippet role.yaml content/embeds/role.md - formatYamlSnippet service_account.yaml content/embeds/service_account.md + formatYamlSnippet admission-service.yaml content/embeds/k8s/admission-service.md + formatYamlSnippet admission/webhook.yaml content/embeds/k8s/admission_webhook.md + formatYamlSnippet examples/v1/rec.yaml content/embeds/k8s/rec.md + formatYamlSnippet examples/v1alpha1/reaadb.yaml content/embeds/k8s/reaadb.md + formatYamlSnippet examples/v1alpha1/redb.yaml content/embeds/k8s/redb.md + formatYamlSnippet examples/v1alpha1/rerc.yaml content/embeds/k8s/rerc.md + formatYamlSnippet log_collector/log_collector_role_all_mode.yaml content/embeds/k8s/log_collector_role_all_mode.md + formatYamlSnippet log_collector/log_collector_role_restricted_mode.yaml content/embeds/k8s/log_collector_role_restricted_mode.md + formatYamlSnippet multi-namespace-redb/operator_cluster_role_binding.yaml content/embeds/k8s/multi-ns_operator_cluster_role_binding.md + formatYamlSnippet multi-namespace-redb/operator_cluster_role.yaml content/embeds/k8s/multi-ns_operator_cluster_role.md + formatYamlSnippet multi-namespace-redb/role_binding.yaml content/embeds/k8s/multi-ns_role_binding.md + formatYamlSnippet multi-namespace-redb/role.yaml content/embeds/k8s/multi-ns_role.md + formatYamlSnippet openshift/admission-service.yaml content/embeds/k8s/openshift_admission-service.md + formatYamlSnippet openshift/rec_rhel.yaml content/embeds/k8s/openshift_rec.md + formatYamlSnippet openshift/role_binding.yaml content/embeds/k8s/openshift_role_binding.md + formatYamlSnippet openshift/role.yaml content/embeds/k8s/openshift_role.md + formatYamlSnippet openshift/scc.yaml content/embeds/k8s/openshift_scc.md + formatYamlSnippet openshift/service_account.yaml content/embeds/k8s/openshift_service_account.md + formatYamlSnippet rack_awareness/rack_aware_cluster_role_binding.yaml content/embeds/k8s/rack_aware_cluster_role_binding.md + formatYamlSnippet rack_awareness/rack_aware_cluster_role.yaml content/embeds/k8s/rack_aware_cluster_role.md + formatYamlSnippet rack_awareness/rack_aware_rec.yaml content/embeds/k8s/rack_aware_rec.md + formatYamlSnippet role_binding.yaml content/embeds/k8s/role_binding.md + formatYamlSnippet role.yaml content/embeds/k8s/role.md + formatYamlSnippet service_account.yaml content/embeds/k8s/service_account.md - name: 'Send pull request' env: @@ -136,7 +136,7 @@ jobs: git apply content/operate/kubernetes/reference/kubernetes-api-reference-frontmatter.patch git add content/operate/kubernetes/reference/ - git add content/embeds/ + git add content/embeds/k8s/ git commit -m "k8s api docs ${RELEASE}" git push origin "${BRANCH}" diff --git a/content/embeds/admission-service.md b/content/embeds/k8s/admission-service.md similarity index 100% rename from content/embeds/admission-service.md rename to content/embeds/k8s/admission-service.md diff --git a/content/embeds/admission_webhook.md b/content/embeds/k8s/admission_webhook.md similarity index 100% rename from content/embeds/admission_webhook.md rename to content/embeds/k8s/admission_webhook.md diff --git a/content/embeds/log_collector_role_all_mode.md b/content/embeds/k8s/log_collector_role_all_mode.md similarity index 100% rename from content/embeds/log_collector_role_all_mode.md rename to content/embeds/k8s/log_collector_role_all_mode.md diff --git a/content/embeds/log_collector_role_restricted_mode.md b/content/embeds/k8s/log_collector_role_restricted_mode.md similarity index 100% rename from content/embeds/log_collector_role_restricted_mode.md rename to content/embeds/k8s/log_collector_role_restricted_mode.md diff --git a/content/embeds/multi-ns_operator_cluster_role.md b/content/embeds/k8s/multi-ns_operator_cluster_role.md similarity index 100% rename from content/embeds/multi-ns_operator_cluster_role.md rename to content/embeds/k8s/multi-ns_operator_cluster_role.md diff --git a/content/embeds/multi-ns_operator_cluster_role_binding.md b/content/embeds/k8s/multi-ns_operator_cluster_role_binding.md similarity index 100% rename from content/embeds/multi-ns_operator_cluster_role_binding.md rename to content/embeds/k8s/multi-ns_operator_cluster_role_binding.md diff --git a/content/embeds/multi-ns_role.md b/content/embeds/k8s/multi-ns_role.md similarity index 100% rename from content/embeds/multi-ns_role.md rename to content/embeds/k8s/multi-ns_role.md diff --git a/content/embeds/multi-ns_role_binding.md b/content/embeds/k8s/multi-ns_role_binding.md similarity index 100% rename from content/embeds/multi-ns_role_binding.md rename to content/embeds/k8s/multi-ns_role_binding.md diff --git a/content/embeds/openshift_admission-service.md b/content/embeds/k8s/openshift_admission-service.md similarity index 100% rename from content/embeds/openshift_admission-service.md rename to content/embeds/k8s/openshift_admission-service.md diff --git a/content/embeds/openshift_rec.md b/content/embeds/k8s/openshift_rec.md similarity index 100% rename from content/embeds/openshift_rec.md rename to content/embeds/k8s/openshift_rec.md diff --git a/content/embeds/openshift_role.md b/content/embeds/k8s/openshift_role.md similarity index 100% rename from content/embeds/openshift_role.md rename to content/embeds/k8s/openshift_role.md diff --git a/content/embeds/openshift_role_binding.md b/content/embeds/k8s/openshift_role_binding.md similarity index 100% rename from content/embeds/openshift_role_binding.md rename to content/embeds/k8s/openshift_role_binding.md diff --git a/content/embeds/openshift_scc.md b/content/embeds/k8s/openshift_scc.md similarity index 100% rename from content/embeds/openshift_scc.md rename to content/embeds/k8s/openshift_scc.md diff --git a/content/embeds/openshift_service_account.md b/content/embeds/k8s/openshift_service_account.md similarity index 100% rename from content/embeds/openshift_service_account.md rename to content/embeds/k8s/openshift_service_account.md diff --git a/content/embeds/rack_aware_cluster_role.md b/content/embeds/k8s/rack_aware_cluster_role.md similarity index 100% rename from content/embeds/rack_aware_cluster_role.md rename to content/embeds/k8s/rack_aware_cluster_role.md diff --git a/content/embeds/rack_aware_cluster_role_binding.md b/content/embeds/k8s/rack_aware_cluster_role_binding.md similarity index 100% rename from content/embeds/rack_aware_cluster_role_binding.md rename to content/embeds/k8s/rack_aware_cluster_role_binding.md diff --git a/content/embeds/rack_aware_rec.md b/content/embeds/k8s/rack_aware_rec.md similarity index 100% rename from content/embeds/rack_aware_rec.md rename to content/embeds/k8s/rack_aware_rec.md diff --git a/content/embeds/reaadb.md b/content/embeds/k8s/reaadb.md similarity index 100% rename from content/embeds/reaadb.md rename to content/embeds/k8s/reaadb.md diff --git a/content/embeds/rec.md b/content/embeds/k8s/rec.md similarity index 100% rename from content/embeds/rec.md rename to content/embeds/k8s/rec.md diff --git a/content/embeds/redb.md b/content/embeds/k8s/redb.md similarity index 100% rename from content/embeds/redb.md rename to content/embeds/k8s/redb.md diff --git a/content/embeds/rerc.md b/content/embeds/k8s/rerc.md similarity index 100% rename from content/embeds/rerc.md rename to content/embeds/k8s/rerc.md diff --git a/content/embeds/role.md b/content/embeds/k8s/role.md similarity index 100% rename from content/embeds/role.md rename to content/embeds/k8s/role.md diff --git a/content/embeds/role_binding.md b/content/embeds/k8s/role_binding.md similarity index 100% rename from content/embeds/role_binding.md rename to content/embeds/k8s/role_binding.md diff --git a/content/embeds/service_account.md b/content/embeds/k8s/service_account.md similarity index 100% rename from content/embeds/service_account.md rename to content/embeds/k8s/service_account.md