Skip to content

Commit

Permalink
Add 1.6.4 scdf pro
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoshi-vm committed Nov 13, 2024
1 parent 60ccb29 commit 8dc7f63
Show file tree
Hide file tree
Showing 10 changed files with 1,340 additions and 0 deletions.
53 changes: 53 additions & 0 deletions manifests/scdf.tanzu.japan.com/1.6.4/base.yaml
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 manifests/scdf.tanzu.japan.com/1.6.4/certmanager/certmanager.yaml
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
339 changes: 339 additions & 0 deletions manifests/scdf.tanzu.japan.com/1.6.4/packages.yml

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions manifests/scdf.tanzu.japan.com/1.6.4/scdf/overlay.yaml
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
Loading

0 comments on commit 8dc7f63

Please sign in to comment.