diff --git a/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.json b/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.json index 398a0e176..6c217a592 100644 --- a/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.json +++ b/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.json @@ -1 +1 @@ -{"codeList":["# milvus-operator-certificate.yaml\napiVersion: cert-manager.io/v1\nkind: Certificate\nmetadata:\nname: milvus-operator-serving-cert\nnamespace: milvus-operator\nspec:\ndnsNames:\n- milvus-operator-webhook-service.milvus-operator.svc\n- milvus-operator-webhook-service.milvus-operator.svc.cluster.local\nissuerRef:\n kind: Issuer\n name: milvus-operator-selfsigned-issuer\nsecretName: milvus-operator-webhook-cert\n---\napiVersion: cert-manager.io/v1\nkind: Issuer\nmetadata:\nname: milvus-operator-selfsigned-issuer\nnamespace: milvus-operator\nspec:\nselfSigned: {}\n","kubectl apply -f milvus-operator-certificate.yaml\n","helm repo add milvus-operator https://zilliztech.github.io/milvus-operator/\nhelm repo update milvus-operator\n","helm -n milvus-operator upgrade --install --create-namespace milvus-operator milvus-operator/milvus-operator\n"],"headingContent":"Deploy a Milvus Cluster on OpenShift","anchorList":[{"label":"Deploy a Milvus Cluster on OpenShift","href":"Deploy-a-Milvus-Cluster-on-OpenShift","type":1,"isActive":false},{"label":"Prerequisites","href":"Prerequisites","type":2,"isActive":false},{"label":"Step 1: Install Cert Manager","href":"Step-1-Install-Cert-Manager","type":2,"isActive":false},{"label":"Step 2: Issue a Self-Signed Certificate for Milvus Operator","href":"Step-2-Issue-a-Self-Signed-Certificate-for-Milvus-Operator","type":2,"isActive":false},{"label":"Step 3: Install Milvus Operator","href":"Step-3-Install-Milvus-Operator","type":2,"isActive":false},{"label":"Step 4: Deploy Milvus","href":"Step-4-Deploy-Milvus","type":2,"isActive":false},{"label":"What's Next","href":"Whats-Next","type":2,"isActive":false}]} \ No newline at end of file +{"codeList":["# milvus-operator-certificate.yaml\napiVersion: cert-manager.io/v1\nkind: Certificate\nmetadata:\n name: milvus-operator-serving-cert\n namespace: milvus-operator\nspec:\n dnsNames:\n - milvus-operator-webhook-service.milvus-operator.svc\n - milvus-operator-webhook-service.milvus-operator.svc.cluster.local\n issuerRef:\n kind: Issuer\n name: milvus-operator-selfsigned-issuer\n secretName: milvus-operator-webhook-cert\n---\napiVersion: cert-manager.io/v1\nkind: Issuer\nmetadata:\n name: milvus-operator-selfsigned-issuer\n namespace: milvus-operator\nspec:\n selfSigned: {}\n","kubectl apply -f milvus-operator-certificate.yaml\n","helm repo add milvus-operator https://zilliztech.github.io/milvus-operator/\nhelm repo update milvus-operator\n","helm -n milvus-operator upgrade --install --create-namespace milvus-operator milvus-operator/milvus-operator\n"],"headingContent":"Deploy a Milvus Cluster on OpenShift","anchorList":[{"label":"Deploy a Milvus Cluster on OpenShift","href":"Deploy-a-Milvus-Cluster-on-OpenShift","type":1,"isActive":false},{"label":"Prerequisites","href":"Prerequisites","type":2,"isActive":false},{"label":"Step 1: Install Cert Manager","href":"Step-1-Install-Cert-Manager","type":2,"isActive":false},{"label":"Step 2: Issue a Self-Signed Certificate for Milvus Operator","href":"Step-2-Issue-a-Self-Signed-Certificate-for-Milvus-Operator","type":2,"isActive":false},{"label":"Step 3: Install Milvus Operator","href":"Step-3-Install-Milvus-Operator","type":2,"isActive":false},{"label":"Step 4: Deploy Milvus","href":"Step-4-Deploy-Milvus","type":2,"isActive":false},{"label":"What's Next","href":"Whats-Next","type":2,"isActive":false}]} \ No newline at end of file diff --git a/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.md b/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.md index fb3c6e3e3..99b8d9b44 100644 --- a/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.md +++ b/localization/v2.4.x/site/en/adminGuide/clouds/openshift/openshift.md @@ -100,24 +100,24 @@ summary: Learn how to deploy a Milvus cluster on OpenShift. apiVersion: cert-manager.io/v1 kind: Certificate metadata: -name: milvus-operator-serving-cert -namespace: milvus-operator + name: milvus-operator-serving-cert + namespace: milvus-operator spec: -dnsNames: -- milvus-operator-webhook-service.milvus-operator.svc -- milvus-operator-webhook-service.milvus-operator.svc.cluster.local -issuerRef: + dnsNames: + - milvus-operator-webhook-service.milvus-operator.svc + - milvus-operator-webhook-service.milvus-operator.svc.cluster.local + issuerRef: kind: Issuer name: milvus-operator-selfsigned-issuer -secretName: milvus-operator-webhook-cert + secretName: milvus-operator-webhook-cert --- apiVersion: cert-manager.io/v1 kind: Issuer metadata: -name: milvus-operator-selfsigned-issuer -namespace: milvus-operator + name: milvus-operator-selfsigned-issuer + namespace: milvus-operator spec: -selfSigned: {} + selfSigned: {}
  • Apply the file:

    kubectl apply -f milvus-operator-certificate.yaml