Install keycloak
This commit is contained in:
parent
de944bac48
commit
1d56a131b7
@ -4,7 +4,8 @@
|
|||||||
sourceRepoUrl,
|
sourceRepoUrl,
|
||||||
sourceChart,
|
sourceChart,
|
||||||
sourceTargetRevision,
|
sourceTargetRevision,
|
||||||
namespace="") ::
|
namespace="",
|
||||||
|
helmValues={}) ::
|
||||||
{
|
{
|
||||||
apiVersion: "argoproj.io/v1alpha1",
|
apiVersion: "argoproj.io/v1alpha1",
|
||||||
kind: "Application",
|
kind: "Application",
|
||||||
@ -18,7 +19,10 @@
|
|||||||
source: {
|
source: {
|
||||||
chart: sourceChart,
|
chart: sourceChart,
|
||||||
repoURL: sourceRepoUrl,
|
repoURL: sourceRepoUrl,
|
||||||
targetRevision: sourceTargetRevision
|
targetRevision: sourceTargetRevision,
|
||||||
|
[if helmValues != {} then "helm"]: {
|
||||||
|
valuesObject: helmValues
|
||||||
|
}
|
||||||
},
|
},
|
||||||
destination: {
|
destination: {
|
||||||
server: "https://kubernetes.default.svc",
|
server: "https://kubernetes.default.svc",
|
||||||
@ -32,4 +36,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
14
app-of-apps/keycloak.jsonnet
Normal file
14
app-of-apps/keycloak.jsonnet
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
local appDef = import './app-definitions.libsonnet';
|
||||||
|
|
||||||
|
appDef.helmApplication(
|
||||||
|
name="keycloak",
|
||||||
|
sourceRepoUrl="https://charts.bitnami.com/bitnami",
|
||||||
|
sourceChart="keycloak",
|
||||||
|
sourceTargetRevision="19.3.4",
|
||||||
|
helmValues={
|
||||||
|
ingress: {
|
||||||
|
enabled: true,
|
||||||
|
hostname: "keycloak.avril"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user