Skip to content

Commit 392329d

Browse files
authored
Merge pull request #2112 from oracle-devrel/oke-gitops
Oke gitops 1.1.1
2 parents 68a9c39 + ae2f5a0 commit 392329d

File tree

60 files changed

+352
-401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+352
-401
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.0/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.1/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.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"chart": {
3+
"repo": "https://example-app/chart",
4+
"name": "app",
5+
"version": "*",
6+
"release-name": "example-app"
7+
},
8+
"namespace": "default"
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"chart": {
3+
"repo": "https://example-app/chart",
4+
"name": "app",
5+
"version": "1.0.0",
6+
"release-name": "example-app"
7+
},
8+
"namespace": "default"
9+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v2
2+
name: example-app
3+
description: A Helm chart for example-app
4+
type: application
5+
version: 0.1.0
6+
appVersion: "1.0.0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: {{ .Chart.Name }}
5+
spec:
6+
replicas: {{ .Values.replicaCount }}
7+
selector:
8+
matchLabels:
9+
app: {{ .Chart.Name }}
10+
template:
11+
metadata:
12+
labels:
13+
app: {{ .Chart.Name }}
14+
spec:
15+
containers:
16+
- name: {{ .Chart.Name }}
17+
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
18+
ports:
19+
- containerPort: 80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: {{ .Chart.Name }}
5+
spec:
6+
type: {{ .Values.service.type }}
7+
ports:
8+
- port: {{ .Values.service.port }}
9+
targetPort: 80
10+
protocol: TCP
11+
selector:
12+
app: {{ .Chart.Name }}

0 commit comments

Comments
 (0)