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
#@ load("@ytt:data", "data") | |
#@ if/end data.values.configFileContents.defaultHttpVersions: | |
default-http-versions: #@ data.values.configFileContents.defaultHttpVersions |
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
# scroll down to the export section | |
--- | |
apiVersion: kctrl.carvel.dev/v1alpha1 | |
kind: PackageBuild | |
metadata: | |
name: first.package.tanzu.vmware.com | |
spec: | |
release: | |
- resource: {} | |
template: |
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
package main | |
import ( | |
"fmt" | |
"sigs.k8s.io/kind/pkg/foo/version" | |
) | |
func main() { | |
rawVersion := "v1.25.0" |
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
TIME:01:30:55 | |
apiVersion: kappctrl.k14s.io/v1alpha1 | |
kind: App | |
metadata: | |
creationTimestamp: "2022-04-12T19:58:56Z" | |
finalizers: | |
- finalizers.kapp-ctrl.k14s.io/delete | |
generation: 2 | |
name: cert-man | |
namespace: default |
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
./kctrl package install -i cert-man -p cert-manager.community.tanzu.vmware.com --version 1.6.1 ─╯ | |
Target cluster 'https://127.0.0.1:50478' (nodes: minikube) | |
1:06:13AM: Updating package install for 'cert-man' | |
1:06:13AM: Waiting for PackageInstall reconciliation for 'cert-man' | |
1:06:13AM: Waiting for generation 2 to be observed | |
1:06:29AM: Fetching | |
| apiVersion: vendir.k14s.io/v1alpha1 | |
| directories: | |
| - contents: |
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
kctrl package install -i cert-man -p cert-manager.community.tanzu.vmware.com --version 1.6.1 ─╯ | |
Target cluster 'https://127.0.0.1:55157' (nodes: minikube) | |
Creating service account 'cert-man-default-sa' | |
Creating cluster admin role 'cert-man-default-cluster-role' | |
Creating cluster role binding 'cert-man-default-cluster-rolebinding' | |
Creating package install resource |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: busybox-deployment | |
labels: | |
app: demo | |
spec: | |
replicas: 5 | |
strategy: | |
type: RollingUpdate |
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
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
namespace: testing | |
name: config | |
annotations: | |
kapp.k14s.io/versioned: "" | |
data: | |
foo1: bar |
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
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: config-1 | |
annotations: | |
kapp.k14s.io/versioned: "" | |
data: | |
foo1: bar | |
--- |