weblogic-kubernetes-operator icon indicating copy to clipboard operation
weblogic-kubernetes-operator copied to clipboard

Improve WLS on AKS samples

Open galiacheng opened this issue 3 years ago • 1 comments

Changes include:

modified: .gitattributes

  • set eol of yaml files, to avoid line ending error when working with shell scripts in Windows.

modified documentation/3.4/content/samples/azure-kubernetes-service/domain-on-pv.md

  • Remove service principal for AKS creation
  • Add steps to package sample app
  • Use WLS REST API to deploy sample app
  • Bump version of tooling

modified documentation/3.4/content/samples/azure-kubernetes-service/includes/clean-up-resources-body-02.txt

  • Remove command to delete service principal

modified documentation/3.4/content/samples/azure-kubernetes-service/includes/create-aks-cluster-body-01.txt

  • Remove steps to create service principal
  • Create AKS with system managed identity enabled
  • Grant AKS permission to access storage account
  • Replace az resource list with az graph

modified documentation/3.4/content/samples/azure-kubernetes-service/includes/prerequisites-01.txt

  • Add JDK as we use it to package sample app
  • Bump versions of tooling

modified documentation/3.4/content/samples/azure-kubernetes-service/includes/prerequisites-02.txt

  • Bump versions of tooling

modified documentation/3.4/content/samples/azure-kubernetes-service/model-in-image.md

  • Bump WLS operator version to 3.4.2
  • Use Helm chart from GitHub to install the operator, to avoid line ending issue
  • Remove steps to create k8s secret for ACR, as we have attached the ACR to AKS

removed documentation/3.4/content/samples/azure-kubernetes-service/screenshot-deploy-test-app.png

modified the same files in documentation/staging

modified kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks-inputs.yaml

  • Remove service principal from input files

modified kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks.sh

  • Remove script to login
  • Use az resource-graph extension to query ersources
  • Assign AKS contributor role to access storage account

modified kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/model-in-image/admin-lb.yaml

  • use LF ending modified kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/model-in-image/cluster-lb.yaml
  • use LF ending

galiacheng avatar Aug 12 '22 07:08 galiacheng

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Aug 25 '22 12:08 sonarqubecloud[bot]