You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,7 +68,7 @@ To make this build and deploy to OKE to work is not a big task. First copy the f
68
68
Before building the Docker image repo needs to be created under the desired <code>compartment</code>. This can be easily done using OCI Cloud UI. Name the repository as <b><i>Azure-test</i></b>, for example.
69
69
70
70
<p>
71
-
Then modify the <code>deployment.yaml</code> <ahref="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/azure-devops-oke/deployment.yaml#L19">line 19</a> by replacing the <TENANCY_NAMESPACE> with yours and if you gave another name for the OCIR repo then modify also that here, too. Modify also the <code>region</code> if using some other OCI region than <b><i>fra.ocir.io</i></b>.
71
+
Then modify the <code>deployment.yaml</code> <ahref="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/azure-devops-oke/files/deployment.yaml#L19">line 19</a> by replacing the <TENANCY_NAMESPACE> with yours and if you gave another name for the OCIR repo then modify also that here, too. Modify also the <code>region</code> if using some other OCI region than <b><i>fra.ocir.io</i></b>.
72
72
73
73
<p>
74
74
To be able to do <code>Docker login</code> to the repo create <code>auth token</code> for your OCI user unless you already have one.
@@ -82,7 +82,7 @@ Once the OKE cluster is up and running with <code>kubectl</code> access setup th
Name the secret <b><i>oke-kubeconfig-azure-token</i></b> as in <code>azure-token.yaml</code> <ahref="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/azure-devops-oke/azure-token.yaml#L4"target="_NEW">line 4</a>.
85
+
Name the secret <b><i>oke-kubeconfig-azure-token</i></b> as in <code>azure-token.yaml</code> <ahref="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/azure-devops-oke/files/azure-token.yaml#L4"target="_NEW">line 4</a>.
86
86
87
87
## Setup Azure DevOps OCI connections for OKE and OCIR
88
88
@@ -117,22 +117,22 @@ Edit the created pipeline and select <code>Variables</code> to create them as fo
117
117
118
118
<ul>
119
119
<li>CONTAINER_REGISTRY: OCIR</li>
120
-
<li>CONTAINER_REPOSITORY: Use the same name as in the <code>deployment.yaml</code> <a href="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/azure-devops-oke/deployment.yaml#L19">line 19</a> but <b><i>without</i></b> the <code>region</code> and the <code>tag</code> ("1" in the example YAML file) e.g. <b><i><TENANCY_NAMESPACE>/azure-test</i></b></li>
120
+
<li>CONTAINER_REPOSITORY: Use the same name as in the <code>deployment.yaml</code> <a href="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/azure-devops-oke/files/deployment.yaml#L19">line 19</a> but <b><i>without</i></b> the <code>region</code> and the <code>tag</code> ("1" in the example YAML file) e.g. <b><i><TENANCY_NAMESPACE>/azure-test</i></b></li>
121
121
<li>containerImageFullNameForK8sDeploy: The same as above but with the OCI region e.g. <b><i>fra.ocir.io/<TENANCY_NAMESPACE>/azure-test</i></b></li>
122
122
<li>K8S_CONNECTION_NAME: OKE</li>
123
123
<li>K8S_NAMESPACE: default</li>
124
124
<li>OcirPullSecret: ocirsecret</li>
125
125
</ul>
126
126
127
127
<p>
128
-
<imgsrc="pipeline-vars.png"width="800" />
128
+
<imgsrc="files/pipeline-vars.png"width="800" />
129
129
130
130
## Run the pipeline
131
131
132
132
Pipeline runs automatically after commiting changes and when all of the above are properly set it should complete succesfully.
0 commit comments