Compare commits
3 commits
keycloak_u
...
developmen
Author | SHA1 | Date | |
---|---|---|---|
![]() |
abeeb7ee23 | ||
![]() |
4eb6fa0908 | ||
9bb0063f8b |
11 changed files with 4 additions and 140 deletions
|
@ -1,6 +1,5 @@
|
||||||
# edpbuilder stacks
|
# edpbuilder stacks
|
||||||
|
|
||||||
|
|
||||||
This repository contains the building blocks to instanciate Internal Developer Platform's.
|
This repository contains the building blocks to instanciate Internal Developer Platform's.
|
||||||
|
|
||||||
### Install edpbuilder
|
### Install edpbuilder
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: crossplane-compositions
|
|
||||||
namespace: argocd
|
|
||||||
labels:
|
|
||||||
env: dev
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
destination:
|
|
||||||
name: in-cluster
|
|
||||||
namespace: crossplane-system
|
|
||||||
source:
|
|
||||||
path: stacks/core/crossplane-compositions
|
|
||||||
repoURL: https://{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder
|
|
||||||
targetRevision: HEAD
|
|
||||||
directory:
|
|
||||||
recurse: true
|
|
|
@ -1,30 +0,0 @@
|
||||||
apiVersion: apiextensions.crossplane.io/v1
|
|
||||||
kind: CompositeResourceDefinition
|
|
||||||
metadata:
|
|
||||||
name: edfbuilders.edfbuilder.crossplane.io
|
|
||||||
spec:
|
|
||||||
connectionSecretKeys:
|
|
||||||
- kubeconfig
|
|
||||||
group: edfbuilder.crossplane.io
|
|
||||||
names:
|
|
||||||
kind: EDFBuilder
|
|
||||||
listKind: EDFBuilderList
|
|
||||||
plural: edfbuilders
|
|
||||||
singular: edfbuilders
|
|
||||||
versions:
|
|
||||||
- name: v1alpha1
|
|
||||||
served: true
|
|
||||||
referenceable: true
|
|
||||||
schema:
|
|
||||||
openAPIV3Schema:
|
|
||||||
description: A EDFBuilder is a composite resource that represents a K8S Cluster with edfbuilder Installed
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
spec:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
repoURL:
|
|
||||||
type: string
|
|
||||||
description: URL to ArgoCD stack of stacks repo
|
|
||||||
required:
|
|
||||||
- repoURL
|
|
|
@ -1,23 +0,0 @@
|
||||||
{{{ if eq .Env.CLUSTER_TYPE "kind" }}}
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: crossplane-providers
|
|
||||||
namespace: argocd
|
|
||||||
labels:
|
|
||||||
env: dev
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
destination:
|
|
||||||
name: in-cluster
|
|
||||||
namespace: crossplane-system
|
|
||||||
source:
|
|
||||||
path: stacks/core/crossplane-providers
|
|
||||||
repoURL: https://{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder
|
|
||||||
targetRevision: HEAD
|
|
||||||
{{{ end }}}
|
|
|
@ -1,9 +0,0 @@
|
||||||
apiVersion: pkg.crossplane.io/v1
|
|
||||||
kind: Function
|
|
||||||
metadata:
|
|
||||||
name: crossplane-contrib-function-patch-and-transform
|
|
||||||
spec:
|
|
||||||
package: xpkg.upbound.io/crossplane-contrib/function-patch-and-transform:v0.7.0
|
|
||||||
packagePullPolicy: IfNotPresent # Only download the package if it isn’t in the cache.
|
|
||||||
revisionActivationPolicy: Automatic # Otherwise our Provider never gets activate & healthy
|
|
||||||
revisionHistoryLimit: 1
|
|
|
@ -1,14 +0,0 @@
|
||||||
apiVersion: argocd.crossplane.io/v1alpha1
|
|
||||||
kind: ProviderConfig
|
|
||||||
metadata:
|
|
||||||
name: argocd-provider
|
|
||||||
spec:
|
|
||||||
serverAddr: argocd-server.argocd.svc.cluster.local:80
|
|
||||||
insecure: true
|
|
||||||
plainText: true
|
|
||||||
credentials:
|
|
||||||
source: Secret
|
|
||||||
secretRef:
|
|
||||||
namespace: crossplane-system
|
|
||||||
name: argocd-credentials
|
|
||||||
key: authToken
|
|
|
@ -1,14 +0,0 @@
|
||||||
apiVersion: kind.crossplane.io/v1alpha1
|
|
||||||
kind: ProviderConfig
|
|
||||||
metadata:
|
|
||||||
name: kind-provider
|
|
||||||
spec:
|
|
||||||
credentials:
|
|
||||||
source: Secret
|
|
||||||
secretRef:
|
|
||||||
namespace: crossplane-system
|
|
||||||
name: kind-credentials
|
|
||||||
key: credentials
|
|
||||||
endpoint:
|
|
||||||
# the url is managed by crossplane-edfbuilder
|
|
||||||
url: https://DOCKER_HOST:SERVER_PORT/api/v1/kindserver
|
|
|
@ -1,23 +0,0 @@
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: crossplane
|
|
||||||
namespace: argocd
|
|
||||||
labels:
|
|
||||||
env: dev
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
destination:
|
|
||||||
name: in-cluster
|
|
||||||
namespace: crossplane-system
|
|
||||||
source:
|
|
||||||
chart: crossplane
|
|
||||||
repoURL: https://charts.crossplane.io/stable
|
|
||||||
targetRevision: 1.18.0
|
|
||||||
helm:
|
|
||||||
releaseName: crossplane
|
|
|
@ -1,5 +1,5 @@
|
||||||
redis-cluster:
|
redis-cluster:
|
||||||
enabled: false
|
enabled: true
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
postgresql-ha:
|
postgresql-ha:
|
||||||
|
|
|
@ -264,7 +264,8 @@ spec:
|
||||||
name: gitea-credentials
|
name: gitea-credentials
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: argocd-credentials
|
name: argocd-credentials
|
||||||
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/backstage-edp:development
|
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/backstage-edp:1.1.0
|
||||||
|
imagePullPolicy: Always
|
||||||
name: backstage
|
name: backstage
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 7007
|
- containerPort: 7007
|
||||||
|
|
|
@ -51,7 +51,7 @@ spec:
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: keycloak-config
|
name: keycloak-config
|
||||||
image: quay.io/keycloak/keycloak:26.2.0
|
image: quay.io/keycloak/keycloak:22.0.3
|
||||||
name: keycloak
|
name: keycloak
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|
Loading…
Reference in a new issue