File tree 3 files changed +9
-6
lines changed
content/tutorials/carvel/packages/author
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ cat <<- EOF > "${CARVEL_PACKAGE_HOME}/packages/${CARVEL_PACKAGE_NAME}.${CARVEL_P
130
130
apiVersion: kctrl.carvel.dev/v1alpha1
131
131
kind: PackageBuild
132
132
metadata:
133
- creationTimestamp: null
133
+ creationTimestamp: " $( date -u + " %Y-%m-%dT%H:%M:%SZ " ) "
134
134
name: ${CARVEL_PACKAGE_NAME} .${CARVEL_PACKAGE_FQDN}
135
135
spec:
136
136
release:
@@ -170,12 +170,14 @@ cat <<- EOF > "${CARVEL_PACKAGE_HOME}/packages/${CARVEL_PACKAGE_NAME}.${CARVEL_P
170
170
apiVersion: data.packaging.carvel.dev/v1alpha1
171
171
kind: PackageMetadata
172
172
metadata:
173
- creationTimestamp: null
173
+ creationTimestamp: " $( date -u + " %Y-%m-%dT%H:%M:%SZ " ) "
174
174
name: ${CARVEL_PACKAGE_NAME} .${CARVEL_PACKAGE_FQDN}
175
175
spec:
176
176
displayName: ${CARVEL_PACKAGE_NAME}
177
177
longDescription: ${CARVEL_PACKAGE_NAME} .${CARVEL_PACKAGE_FQDN}
178
178
shortDescription: ${CARVEL_PACKAGE_NAME} .${CARVEL_PACKAGE_FQDN}
179
+ maintainers: []
180
+ categories: []
179
181
EOF
180
182
181
183
# Package Readme
@@ -593,9 +595,7 @@ stringData:
593
595
values.yaml: |
594
596
---
595
597
596
- # Place value overrides here.
597
-
598
- registry: harbor.internal.lan
598
+ # Place value overrides for your specific package here.
599
599
600
600
EOF
601
601
```
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ metadata:
237
237
name: ${PACKAGE_NAME}
238
238
namespace: ${PACKAGE_NAMESPACE}
239
239
spec:
240
- serviceAccountName: ${PACKAGE_NAMESPACE} -sa
240
+ serviceAccountName: ${PACKAGE_SA}
241
241
packageRef:
242
242
refName: ${PACKAGE_NAME} .${PACKAGE_FQN}
243
243
versionSelection:
Original file line number Diff line number Diff line change 61
61
# Package Author website
62
62
PACKAGE_WEBSITE=" https://saltlabs.tech"
63
63
64
+ # What is the service account that is used to install packages
65
+ PACKAGE_SA=" kapp-controller-sa"
66
+
64
67
# What is the version of the repository you will be creating?
65
68
REPOSITORY_VERSION=" $( date +%Y-%m-%d) "
66
69
You can’t perform that action at this time.
0 commit comments