Compare commits
No commits in common. "5dc429033776312e9f5827a9e26e21fd01954e16" and "bb4c99d9b7ed0720be0807d10efcb628261aa606" have entirely different histories.
5dc4290337
...
bb4c99d9b7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
tmp/build-errors.log
|
|
||||||
@ -12,9 +12,6 @@ httpServiceRender = lambda h: HTTPService {
|
|||||||
kind = "Ingress"
|
kind = "Ingress"
|
||||||
metadata = {
|
metadata = {
|
||||||
name = h.service
|
name = h.service
|
||||||
annotations = {
|
|
||||||
"cert-manager.io/issuer": "letsencrypt"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
spec = {
|
spec = {
|
||||||
rules = [{
|
rules = [{
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
import cert_manager.v1
|
|
||||||
|
|
||||||
issuer = v1.Issuer {
|
|
||||||
apiVersion = "cert-manager.io/v1"
|
|
||||||
kind = "Issuer"
|
|
||||||
metadata = {
|
|
||||||
name = "letsencrypt"
|
|
||||||
}
|
|
||||||
spec = {
|
|
||||||
acme = {
|
|
||||||
email = "suyiiyii@gmail.com"
|
|
||||||
server = "https://acme-v02.api.letsencrypt.org/directory"
|
|
||||||
privateKeySecretRef = {
|
|
||||||
name = "letsencrypt"
|
|
||||||
}
|
|
||||||
solvers = [{
|
|
||||||
http01 = {
|
|
||||||
ingress = {
|
|
||||||
class = "traefik"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
1
kcl.mod
1
kcl.mod
@ -5,4 +5,3 @@ version = "0.0.1"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
k8s = "1.31.2"
|
k8s = "1.31.2"
|
||||||
cert-manager = "0.3.0"
|
|
||||||
|
|||||||
@ -1,12 +1,4 @@
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
[dependencies.cert-manager]
|
|
||||||
name = "cert-manager"
|
|
||||||
full_name = "cert-manager_0.3.0"
|
|
||||||
version = "0.3.0"
|
|
||||||
sum = "yyuUXsyOsHOGUK3e9P6GzM5A0hcSpW1XBd5O6TLhyvE="
|
|
||||||
reg = "ghcr.io"
|
|
||||||
repo = "kcl-lang/cert-manager"
|
|
||||||
oci_tag = "0.3.0"
|
|
||||||
[dependencies.k8s]
|
[dependencies.k8s]
|
||||||
name = "k8s"
|
name = "k8s"
|
||||||
full_name = "k8s_1.31.2"
|
full_name = "k8s_1.31.2"
|
||||||
|
|||||||
2
main.k
2
main.k
@ -37,4 +37,4 @@ ingresses = [base.httpServiceRender(http)]
|
|||||||
|
|
||||||
env_manifests = [base.envSecretRender(a) for a in base.Envs.instances()]
|
env_manifests = [base.envSecretRender(a) for a in base.Envs.instances()]
|
||||||
# base.appRender(a)
|
# base.appRender(a)
|
||||||
manifests.yaml_stream([apps_manifests, env_manifests, ingresses,base.issuer])
|
manifests.yaml_stream([apps_manifests, env_manifests, ingresses])
|
||||||
|
|||||||
1
tmp/build-errors.log
Normal file
1
tmp/build-errors.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
exit status 1exit status 2exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1
|
||||||
Loading…
x
Reference in New Issue
Block a user