Skip to content

Commit b2e58ab

Browse files
Merge pull request #2184 from oracle-devrel/oke-gitops
Oke gitops 1.1.2
2 parents ebfda27 + ace6ffb commit b2e58ab

File tree

30 files changed

+1777
-13
lines changed

30 files changed

+1777
-13
lines changed

app-dev/devops-and-containers/oke/oke-gitops/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ This stack will:
139139
* Create 2 OCI Code Repositories: one with pipelines definitions, and another one called "oke-cluster-config" with the git template for the OKE cluster administrators
140140
* Create an OCI Build Pipeline that will mirror the ArgoCD Helm Chart inside the Oracle Cloud Registry, and deploy it in the chosen cluster
141141

142-
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-devrel/technology-engineering/releases/download/oke-gitops-1.1.1/stack.zip)
142+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-devrel/technology-engineering/releases/download/oke-gitops-1.1.2/stack.zip)
143143

144144
Once the stack has been provisioned, you can modify the ArgoCD version to deploy by editing the `mirror_argo.yaml` file in the `pipelines` repository.
145145
By default, ArgoCD will be deployed in an "insecure" mode to disable the default SSL certificate, but feel free to modify the chart values in the `argo-cd-chart-values` artifact.

app-dev/devops-and-containers/oke/oke-gitops/repos/apps-cluster-config/apps/app-category/example-app/config/config-hub.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"repo": "https://example-app/chart",
44
"name": "app",
55
"version": "*",
6-
"release-name": "example-app"
6+
"releaseName": "example-app"
77
},
88
"namespace": "default"
99
}

app-dev/devops-and-containers/oke/oke-gitops/repos/apps-cluster-config/apps/app-category/example-app/config/config-prod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"repo": "https://example-app/chart",
44
"name": "app",
55
"version": "1.0.0",
6-
"release-name": "example-app"
6+
"releaseName": "example-app"
77
},
88
"namespace": "default"
99
}

app-dev/devops-and-containers/oke/oke-gitops/repos/apps-cluster-config/appsets/hub/app-category/example-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: argoproj.io/v1alpha1
22
kind: ApplicationSet
33
metadata:
4-
name: example-app
4+
name: example-app-hub
55
namespace: argocd
66
spec:
77
goTemplate: true
@@ -36,7 +36,7 @@ spec:
3636
releaseName: '{{.chart.releaseName}}'
3737
valueFiles:
3838
- $values/apps/{{index .path.segments 1}}/{{index .path.segments 2}}/helm/values/values-common.yml
39-
- $values/apps/{{index .path.segments 1}}/{{index .path.segments 2}}/helm/values/values-{{.metadata.labels.type }}.yml
39+
- $values/apps/{{index .path.segments 1}}/{{index .path.segments 2}}/helm/values/{{.metadata.labels.type}}/values.yml
4040

4141
- repoURL: #REPOURL
4242
targetRevision: HEAD

app-dev/devops-and-containers/oke/oke-gitops/repos/system-cluster-config/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ Under `Settings --> Repositories` click on **CONNECT REPO** and select to connec
2424
Fill the form with the following values:
2525
1. `Repository type`: "git"
2626
2. `Repository URL`: <oke-cluster-config clone URL>
27-
3. `Username`: \<OCI username of a user with access to the git repository>
28-
4. `Password`: \<Auth Token of the user>
27+
3. `Project`. "None" (leave blank)
28+
4. `Username`: \<OCI username of a user with access to the git repository>
29+
5. `Password`: \<Auth Token of the user>
2930

3031
The repository we want to connect to is the system-cluster-config repository in OCI DevOps, already created by the Resource Manager Stack.
3132
It's better to go into the OCI DevOps, find the repository, and find the right HTTPS clone URL.
@@ -64,7 +65,7 @@ This repository organizes configurations to install tools and configure clusters
6465
## Repository Structure
6566

6667
```
67-
repos/system-cluster-config/
68+
system-cluster-config/
6869
├── hub.yml # ArgoCD Application to deploy ApplicationSets to the hub cluster
6970
├── in-cluster.yml # Secret defining the hub cluster itself
7071
├── apps/ # Application definitions, organized by category

app-dev/devops-and-containers/oke/oke-gitops/repos/system-cluster-config/apps/app-category/example-app/config/config-hub.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"repo": "https://example-app/chart",
44
"name": "app",
55
"version": "*",
6-
"release-name": "example-app"
6+
"releaseName": "example-app"
77
},
88
"namespace": "default"
99
}

0 commit comments

Comments
 (0)