Skip to content

Commit f22c90b

Browse files
Merge pull request #290106 from msftadam/patch-44
Update best-practices-onboard-deploy.md
2 parents 0c4b7da + 0727c2a commit f22c90b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

articles/operator-service-manager/best-practices-onboard-deploy.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,3 +373,30 @@ As of today, if dependsOnProfile provided in the NFDV is invalid, the NF operati
373373
}
374374
}
375375
```
376+
## injectArtifactStoreDetails considerations
377+
In some cases, third-party helm charts maynot be fully compliant with AOSM requirements for registryURL. In this case, the injectArtifactStoreDetails feature can be used to avoid making changes to helm packages.
378+
379+
### How to enable
380+
To use injectArtifactStoreDetails, set the installOptions parameter in the NF resource roleOrverrides section to true, then use whatever registryURL value is needed to keep the registry URL valid. See following example of injectArtifactStoreDetails parameter enabled.
381+
382+
```bash
383+
resource networkFunction 'Microsoft.HybridNetwork/networkFunctions@2023-09-01' = {
384+
name: nfName
385+
location: location
386+
properties: {
387+
nfviType: 'AzureArcKubernetes'
388+
networkFunctionDefinitionVersionResourceReference: {
389+
id: nfdvId
390+
idType: 'Open'
391+
}
392+
allowSoftwareUpdate: true
393+
nfviId: nfviId
394+
deploymentValues: deploymentValues
395+
configurationType: 'Open'
396+
roleOverrideValues: [
397+
// Use inject artifact store details feature on test app 1
398+
'{"name":"testapp1", "deployParametersMappingRuleProfile":{"helmMappingRuleProfile":{"options":{"installOptions":{"atomic":"false","wait":"false","timeout":"60","injectArtifactStoreDetails":"true"},"upgradeOptions": {"atomic": "false", "wait": "true", "timeout": "100", "injectArtifactStoreDetails": "true"}}}}}'
399+
]
400+
}
401+
}
402+
```

0 commit comments

Comments
 (0)