-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(knative, kfserving, cert-manager) Build working solution for kfservi…
…ng integration (#212) * (knative, kfserving, cert-manager) Build working solution for kfserving integration * (knative) kustomize knative using expanded manifest and namespace patch * (cert-manager) Adjust cert-manager and kubeflow-issuer for v1.3
- Loading branch information
Showing
16 changed files
with
4,243 additions
and
37 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
16 changes: 16 additions & 0 deletions
16
kubeflow/common/cert-manager/cert-manager-1-3/cert-manager/base/kustomization.yaml
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,16 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- https://github.com/jetstack/cert-manager/releases/download/v1.3.0/cert-manager.yaml | ||
|
||
images: | ||
- name: quay.io/jetstack/cert-manager-controller | ||
newName: quay.io/jetstack/cert-manager-controller | ||
newTag: v1.3.0 | ||
- name: quay.io/jetstack/cert-manager-cainjector | ||
newName: quay.io/jetstack/cert-manager-cainjector | ||
newTag: v1.3.0 | ||
- name: quay.io/jetstack/cert-manager-webhook | ||
newName: quay.io/jetstack/cert-manager-webhook | ||
newTag: v1.3.0 |
6 changes: 6 additions & 0 deletions
6
...low/common/cert-manager/cert-manager-1-3/cert-manager/kubeflow-issuer/cluster-issuer.yaml
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,6 @@ | ||
apiVersion: cert-manager.io/v1alpha2 | ||
kind: ClusterIssuer | ||
metadata: | ||
name: kubeflow-self-signing-issuer | ||
spec: | ||
selfSigned: {} |
10 changes: 10 additions & 0 deletions
10
...flow/common/cert-manager/cert-manager-1-3/cert-manager/kubeflow-issuer/kustomization.yaml
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,10 @@ | ||
# Define the self-signed issuer for Kubeflow | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: cert-manager | ||
commonLabels: | ||
kustomize.component: cert-manager | ||
app.kubernetes.io/component: cert-manager | ||
app.kubernetes.io/name: cert-manager | ||
resources: | ||
- cluster-issuer.yaml |
11 changes: 11 additions & 0 deletions
11
...ommon/cert-manager/cert-manager-1-3/cert-manager/overlays/letsencrypt/cluster-issuer.yaml
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,11 @@ | ||
apiVersion: cert-manager.io/v1alpha2 | ||
kind: ClusterIssuer | ||
metadata: | ||
name: letsencrypt-prod | ||
spec: | ||
acme: | ||
email: $(acmeEmail) | ||
http01: {} | ||
privateKeySecretRef: | ||
name: letsencrypt-prod-secret | ||
server: $(acmeUrl) |
35 changes: 35 additions & 0 deletions
35
...common/cert-manager/cert-manager-1-3/cert-manager/overlays/letsencrypt/kustomization.yaml
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,35 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
bases: | ||
- ../../base | ||
namespace: cert-manager | ||
resources: | ||
- cluster-issuer.yaml | ||
commonLabels: | ||
kustomize.component: cert-manager | ||
app.kubernetes.io/component: cert-manager | ||
app.kubernetes.io/name: cert-manager | ||
configMapGenerator: | ||
- name: cert-manager-parameters | ||
behavior: merge | ||
envs: | ||
- params.env | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
vars: | ||
- name: acmeEmail | ||
objref: | ||
kind: ConfigMap | ||
name: cert-manager-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.acmeEmail | ||
- name: acmeUrl | ||
objref: | ||
kind: ConfigMap | ||
name: cert-manager-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.acmeUrl | ||
configurations: | ||
- params.yaml |
2 changes: 2 additions & 0 deletions
2
kubeflow/common/cert-manager/cert-manager-1-3/cert-manager/overlays/letsencrypt/params.env
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,2 @@ | ||
acmeEmail= | ||
acmeUrl=https://acme-v02.api.letsencrypt.org/directory |
5 changes: 5 additions & 0 deletions
5
kubeflow/common/cert-manager/cert-manager-1-3/cert-manager/overlays/letsencrypt/params.yaml
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,5 @@ | ||
varReference: | ||
- path: spec/acme/email | ||
kind: ClusterIssuer | ||
- path: spec/acme/server | ||
kind: ClusterIssuer |
13 changes: 13 additions & 0 deletions
13
...common/cert-manager/cert-manager-1-3/cert-manager/overlays/self-signed/kustomization.yaml
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,13 @@ | ||
# TODO(https://github.com/kubeflow/manifests/issues/1052) clean up | ||
# the manifests after the refactor is done. We should move | ||
# cluster-issuer into the kubeflow-issuer package. | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
bases: | ||
- ../../base | ||
resources: | ||
- ../../kubeflow-issuer | ||
commonLabels: | ||
kustomize.component: cert-manager | ||
app.kubernetes.io/component: cert-manager | ||
app.kubernetes.io/name: cert-manager |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ./application # {"$kpt-set":"cert-manager-cert-manager-v3"} | ||
- ./upstream/cert-manager-crds/base | ||
- ./upstream/cert-manager-kube-system-resources/base # {"$kpt-set":"cert-manager-cert-manager-kube-system-resources-base"} | ||
# - ./application # {"$kpt-set":"cert-manager-cert-manager-v3"} | ||
# - ./upstream/cert-manager-crds/base | ||
# - ./upstream/cert-manager-kube-system-resources/base # {"$kpt-set":"cert-manager-cert-manager-kube-system-resources-base"} | ||
- ./cert-manager-1-3/cert-manager/base |
Oops, something went wrong.