|
| 1 | +--- |
| 2 | +apiVersion: v1 |
| 3 | +kind: Namespace |
| 4 | +metadata: |
| 5 | + name: kapp-controller |
| 6 | +--- |
| 7 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 8 | +kind: CustomResourceDefinition |
| 9 | +metadata: |
| 10 | + name: apps.kappctrl.k14s.io |
| 11 | +spec: |
| 12 | + additionalPrinterColumns: |
| 13 | + - JSONPath: .status.friendlyDescription |
| 14 | + description: Friendly description |
| 15 | + name: Description |
| 16 | + type: string |
| 17 | + - JSONPath: .status.deploy.startedAt |
| 18 | + description: Last time app started being deployed. Does not mean anything was changed. |
| 19 | + name: Since-Deploy |
| 20 | + type: date |
| 21 | + - JSONPath: .metadata.creationTimestamp |
| 22 | + description: |- |
| 23 | + CreationTimestamp is a timestamp representing the server time when this object was created. |
| 24 | + It is not guaranteed to be set in happens-before order across separate operations. |
| 25 | + Clients may not set this value. It is represented in RFC3339 form and is in UTC. |
| 26 | + Populated by the system. Read-only. Null for lists. |
| 27 | + More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 28 | + name: Age |
| 29 | + type: date |
| 30 | + group: kappctrl.k14s.io |
| 31 | + names: |
| 32 | + kind: App |
| 33 | + listKind: AppList |
| 34 | + plural: apps |
| 35 | + singular: app |
| 36 | + scope: Namespaced |
| 37 | + subresources: |
| 38 | + status: {} |
| 39 | + versions: |
| 40 | + - name: v1alpha1 |
| 41 | + served: true |
| 42 | + storage: true |
| 43 | +--- |
| 44 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 45 | +kind: CustomResourceDefinition |
| 46 | +metadata: |
| 47 | + name: packages.package.carvel.dev |
| 48 | +spec: |
| 49 | + additionalPrinterColumns: |
| 50 | + - JSONPath: .spec.publicName |
| 51 | + description: Package public name |
| 52 | + name: Public-Name |
| 53 | + type: string |
| 54 | + - JSONPath: .spec.version |
| 55 | + description: Package version |
| 56 | + name: Version |
| 57 | + type: string |
| 58 | + - JSONPath: .metadata.creationTimestamp |
| 59 | + description: Time since creation |
| 60 | + name: Age |
| 61 | + type: date |
| 62 | + group: package.carvel.dev |
| 63 | + names: |
| 64 | + kind: Package |
| 65 | + listKind: PackageList |
| 66 | + plural: packages |
| 67 | + shortNames: |
| 68 | + - pkg |
| 69 | + singular: package |
| 70 | + scope: Cluster |
| 71 | + subresources: |
| 72 | + status: {} |
| 73 | + versions: |
| 74 | + - name: v1alpha1 |
| 75 | + served: true |
| 76 | + storage: true |
| 77 | +--- |
| 78 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 79 | +kind: CustomResourceDefinition |
| 80 | +metadata: |
| 81 | + name: packagerepositories.install.package.carvel.dev |
| 82 | +spec: |
| 83 | + additionalPrinterColumns: |
| 84 | + - JSONPath: .metadata.creationTimestamp |
| 85 | + description: Time since creation |
| 86 | + name: Age |
| 87 | + type: date |
| 88 | + group: install.package.carvel.dev |
| 89 | + names: |
| 90 | + kind: PackageRepository |
| 91 | + listKind: PackageRepositoryList |
| 92 | + plural: packagerepositories |
| 93 | + shortNames: |
| 94 | + - pkgr |
| 95 | + singular: packagerepository |
| 96 | + scope: Cluster |
| 97 | + subresources: |
| 98 | + status: {} |
| 99 | + versions: |
| 100 | + - name: v1alpha1 |
| 101 | + served: true |
| 102 | + storage: true |
| 103 | +--- |
| 104 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 105 | +kind: CustomResourceDefinition |
| 106 | +metadata: |
| 107 | + name: installedpackages.install.package.carvel.dev |
| 108 | +spec: |
| 109 | + additionalPrinterColumns: |
| 110 | + - JSONPath: .spec.packageRef.publicName |
| 111 | + description: Package public name |
| 112 | + name: Package name |
| 113 | + type: string |
| 114 | + - JSONPath: .status.version |
| 115 | + description: Package version |
| 116 | + name: Package version |
| 117 | + type: string |
| 118 | + - JSONPath: .status.friendlyDescription |
| 119 | + description: Friendly description |
| 120 | + name: Description |
| 121 | + type: string |
| 122 | + - JSONPath: .metadata.creationTimestamp |
| 123 | + description: Time since creation |
| 124 | + name: Age |
| 125 | + type: date |
| 126 | + group: install.package.carvel.dev |
| 127 | + names: |
| 128 | + kind: InstalledPackage |
| 129 | + listKind: InstalledPackageList |
| 130 | + plural: installedpackages |
| 131 | + shortNames: |
| 132 | + - ipkg |
| 133 | + singular: installedpackage |
| 134 | + scope: Namespaced |
| 135 | + subresources: |
| 136 | + status: {} |
| 137 | + versions: |
| 138 | + - name: v1alpha1 |
| 139 | + served: true |
| 140 | + storage: true |
| 141 | +--- |
| 142 | +apiVersion: apps/v1 |
| 143 | +kind: Deployment |
| 144 | +metadata: |
| 145 | + annotations: |
| 146 | + kbld.k14s.io/images: | |
| 147 | + - Metas: |
| 148 | + - Path: /Users/dhelfand/Documents/GitHub/carvel-kapp-controller |
| 149 | + Type: local |
| 150 | + - Dirty: false |
| 151 | + RemoteURL: https://github.com/vmware-tanzu/carvel-kapp-controller.git |
| 152 | + SHA: e2b7e3e8d3d6b30b35f2c6ba9590973df183025b |
| 153 | + Type: git |
| 154 | + URL: index.docker.io/k8slt/kapp-controller@sha256:98069380183656caf8f8f9578aa5ee4890850c789b31b954d8271e7ab2a3e0cb |
| 155 | + name: kapp-controller |
| 156 | + namespace: kapp-controller |
| 157 | +spec: |
| 158 | + replicas: 1 |
| 159 | + revisionHistoryLimit: 0 |
| 160 | + selector: |
| 161 | + matchLabels: |
| 162 | + app: kapp-controller |
| 163 | + template: |
| 164 | + metadata: |
| 165 | + labels: |
| 166 | + app: kapp-controller |
| 167 | + spec: |
| 168 | + containers: |
| 169 | + - args: [] |
| 170 | + env: |
| 171 | + - name: KAPPCTRL_MEM_TMP_DIR |
| 172 | + value: /etc/kappctrl-mem-tmp |
| 173 | + image: index.docker.io/k8slt/kapp-controller@sha256:98069380183656caf8f8f9578aa5ee4890850c789b31b954d8271e7ab2a3e0cb |
| 174 | + name: kapp-controller |
| 175 | + resources: |
| 176 | + requests: |
| 177 | + cpu: 120m |
| 178 | + memory: 100Mi |
| 179 | + securityContext: |
| 180 | + runAsGroup: 2000 |
| 181 | + runAsUser: 1000 |
| 182 | + volumeMounts: |
| 183 | + - mountPath: /etc/kappctrl-mem-tmp |
| 184 | + name: template-fs |
| 185 | + securityContext: |
| 186 | + fsGroup: 3000 |
| 187 | + serviceAccount: kapp-controller-sa |
| 188 | + volumes: |
| 189 | + - emptyDir: |
| 190 | + medium: Memory |
| 191 | + name: template-fs |
| 192 | +--- |
| 193 | +apiVersion: v1 |
| 194 | +kind: ServiceAccount |
| 195 | +metadata: |
| 196 | + name: kapp-controller-sa |
| 197 | + namespace: kapp-controller |
| 198 | +--- |
| 199 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 200 | +kind: ClusterRole |
| 201 | +metadata: |
| 202 | + name: kapp-controller-cluster-role |
| 203 | +rules: |
| 204 | +- apiGroups: |
| 205 | + - "" |
| 206 | + resources: |
| 207 | + - secrets |
| 208 | + - configmaps |
| 209 | + verbs: |
| 210 | + - get |
| 211 | + - list |
| 212 | + - watch |
| 213 | +- apiGroups: |
| 214 | + - "" |
| 215 | + resources: |
| 216 | + - serviceaccounts |
| 217 | + verbs: |
| 218 | + - get |
| 219 | +- apiGroups: |
| 220 | + - kappctrl.k14s.io |
| 221 | + resources: |
| 222 | + - apps |
| 223 | + - apps/status |
| 224 | + verbs: |
| 225 | + - '*' |
| 226 | +- apiGroups: |
| 227 | + - install.package.carvel.dev |
| 228 | + resources: |
| 229 | + - installedpackages |
| 230 | + - installedpackages/status |
| 231 | + verbs: |
| 232 | + - '*' |
| 233 | +- apiGroups: |
| 234 | + - package.carvel.dev |
| 235 | + resources: |
| 236 | + - packages |
| 237 | + - packages/status |
| 238 | + verbs: |
| 239 | + - '*' |
| 240 | +- apiGroups: |
| 241 | + - install.package.carvel.dev |
| 242 | + resources: |
| 243 | + - packagerepositories |
| 244 | + - packagerepositories/status |
| 245 | + verbs: |
| 246 | + - '*' |
| 247 | +- apiGroups: |
| 248 | + - "" |
| 249 | + resources: |
| 250 | + - configmaps |
| 251 | + verbs: |
| 252 | + - '*' |
| 253 | +--- |
| 254 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 255 | +kind: ClusterRoleBinding |
| 256 | +metadata: |
| 257 | + name: kapp-controller-cluster-role-binding |
| 258 | +roleRef: |
| 259 | + apiGroup: rbac.authorization.k8s.io |
| 260 | + kind: ClusterRole |
| 261 | + name: kapp-controller-cluster-role |
| 262 | +subjects: |
| 263 | +- kind: ServiceAccount |
| 264 | + name: kapp-controller-sa |
| 265 | + namespace: kapp-controller |
0 commit comments