Skip to content

Commit f0b5e81

Browse files
ci-nginx-with-volumes-example
1 parent 9e5f999 commit f0b5e81

File tree

1 file changed

+5
-1
lines changed
  • app-dev/devops-and-containers/container-instances/ci-nginx-with-volumes-example

1 file changed

+5
-1
lines changed

app-dev/devops-and-containers/container-instances/ci-nginx-with-volumes-example/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,11 @@ To make testing this example slightly easier let's use your IAM user instead. To
101101
<p>
102102
To do this create OCI config with OCI CLI in your localhost with <code>oci setup config</code> and copy the created config to your directory in cloud shell. After adding the created API KEY to your profile in OCI tenancy copy the created private key file to your directory in cloud shell, too. Modify the config with nano editor to remove the path from the keyfile e.g.
103103
<pre>key_file = oci_api_key.pem</pre>
104-
104+
<p>
105+
Alternatively you can use <code>resource-principal</code> and to do this comment line 22 in index.js under <code>source</code> and respectively uncomment line 23.<br>
106+
To make resource-principal to work create also a dynamic group based on your compartment and apply necessary policies to make the SDK to be able to access both Object Storage and Logs.
107+
See <a href="https://docs.oracle.com/en-us/iaas/Content/Identity/dynamicgroups/To_create_a_dynamic_group.htm">https://docs.oracle.com/en-us/iaas/Content/Identity/dynamicgroups/To_create_a_dynamic_group.htm</a> for more info.
108+
105109
#### Build and push to OCIR
106110

107111
After adding the CLI config and API Key build the container and push it to OCIR repo:

0 commit comments

Comments
 (0)