Bläddra i källkod

Introduces projects

Simon Kaiser 3 år sedan
förälder
incheckning
b9b4f1fa6b

+ 11
- 0
application-cloud-kaisers-info.yaml Visa fil

@@ -1,4 +1,15 @@
1 1
 apiVersion: argoproj.io/v1alpha1
2
+kind: AppProject
3
+metadata:
4
+  name: project-cloud-kaisers-info
5
+  namespace: argocd
6
+  # Finalizer that ensures that project is not deleted until it is not referenced by any application
7
+  finalizers:
8
+    - resources-finalizer.argocd.argoproj.io
9
+spec:
10
+  description: Cloud for kaisers.info
11
+---
12
+apiVersion: argoproj.io/v1alpha1
2 13
 kind: Application
3 14
 metadata:
4 15
   name: cloud-kaisers-info

+ 11
- 0
application-gitops-kaisers-info.yaml Visa fil

@@ -1,3 +1,14 @@
1
+apiVersion: argoproj.io/v1alpha1
2
+kind: AppProject
3
+metadata:
4
+  name: project-gitops-kaisers-info
5
+  namespace: argocd
6
+  # Finalizer that ensures that project is not deleted until it is not referenced by any application
7
+  finalizers:
8
+    - resources-finalizer.argocd.argoproj.io
9
+spec:
10
+  description: GitOps for kaisers.info
11
+---
1 12
 apiVersion: v1
2 13
 kind: Secret
3 14
 metadata:

+ 1
- 1
cloud-kaisers-info/values.yaml Visa fil

@@ -5,7 +5,7 @@ spec:
5 5
     path: cloud-kaisers-info
6 6
     repoURL: https://git.kaisers.info/simonkaiser/k8s-kaisers-info.git
7 7
     targetRevision: master
8
-  project: default
8
+  project: project-cloud-kaisers-info
9 9
   namespace: argocd
10 10
   syncPolicy:
11 11
     automated:

+ 3
- 3
gitops-kaisers-info/templates/gitea.yaml Visa fil

@@ -47,6 +47,6 @@ spec:
47 47
           oauth:
48 48
           - name: 'MyAwesomeGiteaOAuth'
49 49
             provider: 'openidConnect'
50
-            key: 'hello'
51
-            secret: 'world'
52
-            autoDiscoverUrl: 'https://gitea.example.com/.well-known/openid-configuration'
50
+            key: 'a86af4635c4a15982948058443ea227a1beb6718'
51
+            secret: '1f161a546df20da2cef83b7d851fafb35fa744076dfec3458d1dcaeb1196b2bb37459e0b26b34fd49d641c1636941df000e221b230bfe2596d5d60bdd0f3c016'
52
+            autoDiscoverUrl: 'https://newgit.kaisers.info/.well-known/openid-configuration'