-
Notifications
You must be signed in to change notification settings - Fork 0
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
mhoshi-vm
committed
Nov 13, 2024
1 parent
60ccb29
commit 8dc7f63
Showing
10 changed files
with
1,340 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,53 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: scdf | ||
labels: | ||
pod-security.kubernetes.io/enforce: baseline | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: scdf-registry | ||
namespace: scdf | ||
annotations: | ||
secretgen.carvel.dev/image-pull-secret: "" | ||
type: kubernetes.io/dockerconfigjson | ||
data: | ||
.dockerconfigjson: e30K | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: default | ||
namespace: scdf | ||
annotations: | ||
kapp.k14s.io/create-strategy: fallback-on-update | ||
secrets: | ||
- name: scdf-registry | ||
imagePullSecrets: | ||
- name: scdf-registry | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: kapp-sa | ||
namespace: scdf | ||
secrets: | ||
- name: scdf-registry | ||
imagePullSecrets: | ||
- name: scdf-registry | ||
--- | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: scdf-kapp-role-binding | ||
namespace: scdf | ||
subjects: | ||
- kind: ServiceAccount | ||
name: kapp-sa | ||
namespace: scdf | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: cluster-admin |
61 changes: 61 additions & 0 deletions
61
manifests/scdf.tanzu.japan.com/1.6.4/certmanager/certmanager.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,61 @@ | ||
#@ load("@ytt:data", "data") | ||
#@ load("@ytt:overlay", "overlay") | ||
#@ load("@ytt:base64", "base64") | ||
#@ load("@ytt:yaml", "yaml") | ||
|
||
#@ if data.values.certmanager.enabled: | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: certmanager-install | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: kapp-sa | ||
namespace: certmanager-install | ||
--- | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: certmanager-kapp-role-binding | ||
namespace: certmanager-install | ||
subjects: | ||
- kind: ServiceAccount | ||
name: kapp-sa | ||
namespace: certmanager-install | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: cluster-admin | ||
#@ if data.values.certmanager.package_repo.install: | ||
--- | ||
apiVersion: packaging.carvel.dev/v1alpha1 | ||
kind: PackageRepository | ||
metadata: | ||
name: tds-pack | ||
namespace: certmanager-install | ||
annotations: | ||
kapp.k14s.io/change-group: "pkgr" | ||
spec: | ||
fetch: | ||
imgpkgBundle: | ||
image: #@ data.values.certmanager.package_repo.repo + ":" + data.values.certmanager.package_repo.version | ||
#@ end | ||
#@ if data.values.certmanager.package.install: | ||
--- | ||
apiVersion: packaging.carvel.dev/v1alpha1 | ||
kind: PackageInstall | ||
metadata: | ||
name: cert-manager | ||
namespace: certmanager-install | ||
annotations: | ||
kapp.k14s.io/change-group: "pkg-cert" | ||
spec: | ||
packageRef: | ||
refName: cert-manager.tanzu.vmware.com | ||
versionSelection: | ||
constraints: ">0.0.0" | ||
serviceAccountName: kapp-sa | ||
#@ end | ||
#@ end |
Large diffs are not rendered by default.
Oops, something went wrong.
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,20 @@ | ||
#@ load("@ytt:data", "data") | ||
#@ load("@ytt:overlay", "overlay") | ||
|
||
--- | ||
apiVersion: packaging.carvel.dev/v1alpha1 | ||
kind: PackageInstall | ||
metadata: | ||
name: scdf | ||
namespace: scdf | ||
annotations: | ||
kapp.k14s.io/change-rule: "upsert after upserting tkcrd" | ||
spec: | ||
serviceAccountName: kapp-sa | ||
packageRef: | ||
refName: scdf-pro.tanzu.vmware.com | ||
versionSelection: | ||
constraints: ">0.0.0" | ||
values: | ||
- secretRef: | ||
name: scdf-values |
Oops, something went wrong.