-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94a7592
commit ade9729
Showing
2 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
apiVersion: application.kubero.dev/v1alpha1 | ||
kind: KuberoApp | ||
metadata: | ||
name: logto | ||
annotations: | ||
kubero.dev/template.architecture: "[]" | ||
kubero.dev/template.description: "Logto is an open-source Identity and Access Management (IAM) platform designed to streamline Customer Identity and Access Management (CIAM) and Workforce Identity Management. " | ||
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/84981374" | ||
kubero.dev/template.installation: "run kubectl `apply -f https://raw.githubusercontent.com/kubero-dev/kubero/main/services/logto/logto-admin-ingress.yaml` to enable the admin interface. | ||
A list of all available environment variables can be found here : https://docs.logto.io/docs/references/core/configuration/" | ||
kubero.dev/template.links: '["https://docs.logto.io/"]' | ||
kubero.dev/template.screenshots: "[]" | ||
kubero.dev/template.source: "https://github.com/logto-io/logto" | ||
kubero.dev/template.tags: '["identity", "access", "management"]' | ||
kubero.dev/template.title: "logto" | ||
kubero.dev/template.website: "https://logto.io/" | ||
labels: | ||
manager: kubero | ||
spec: | ||
name: logto | ||
deploymentstrategy: docker | ||
envVars: | ||
- name: DB_URL | ||
value: postgresql://postgres:logto@logto-postgresql:5432/logto | ||
- name: TRUST_PROXY_HEADER | ||
value: "1" | ||
- name: ENDPOINT | ||
value: https://logto.localhost | ||
- name: ADMIN_ENDPOINT | ||
value: https://admin.logto.localhost | ||
extraVolumes: [] | ||
cronjobs: [] | ||
addons: | ||
- displayName: Postgresql | ||
env: [] | ||
icon: /img/addons/pgsql.svg | ||
id: kubero-operator | ||
kind: KuberoPostgresql | ||
resourceDefinitions: | ||
KuberoPostgresql: | ||
apiVersion: application.kubero.dev/v1alpha1 | ||
kind: KuberoPostgresql | ||
metadata: | ||
name: logto-postgresql | ||
spec: | ||
postgresql: | ||
global: | ||
postgresql: | ||
auth: | ||
database: postgresql | ||
password: logto | ||
postgresPassword: logto | ||
username: logto | ||
storageClass: standard | ||
primary: | ||
persistence: | ||
size: 1Gi | ||
version: | ||
latest: 0.1.5 | ||
web: | ||
replicaCount: 1 | ||
worker: | ||
replicaCount: 0 | ||
image: | ||
containerPort: 8080 | ||
pullPolicy: Always | ||
repository: svhd/logto | ||
tag: latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
cert-manager.io/cluster-issuer: letsencrypt-prod | ||
kubernetes.io/tls-acme: "true" | ||
name: logto-kuberoapp-admin | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: admin.logto.localhost | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: logto-kuberoapp-admin | ||
port: | ||
number: 81 | ||
path: / | ||
pathType: ImplementationSpecific | ||
tls: | ||
- secretName: logto-tls | ||
status: | ||
loadBalancer: | ||
ingress: | ||
- hostname: localhost | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: logto-kuberoapp-admin | ||
spec: | ||
ports: | ||
- name: http | ||
port: 81 | ||
protocol: TCP | ||
targetPort: 3002 | ||
selector: | ||
app.kubernetes.io/instance: logto-web | ||
app.kubernetes.io/name: kuberoapp | ||
sessionAffinity: None | ||
type: ClusterIP | ||
status: | ||
loadBalancer: {} |