Skip to content

Commit b171718

Browse files
authored
update kustomize example (#2270)
1 parent ae8d961 commit b171718

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

package-examples/kustomize/bases/nginx/kustomization.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
14+
apiVersion: kustomize.config.k8s.io/v1beta1
15+
kind: Kustomization
16+
metadata:
17+
name: kustomization
1518
resources:
1619
- deployment.yaml
1720
- svc.yaml

package-examples/kustomize/overlays/dev/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
apiVersion: kustomize.config.k8s.io/v1beta1
1616
kind: Kustomization
17+
metadata:
18+
name: kustomization
1719
resources:
1820
- ../../bases/nginx
1921
- Kptfile

package-examples/kustomize/overlays/prod/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
apiVersion: kustomize.config.k8s.io/v1beta1
1616
kind: Kustomization
17+
metadata:
18+
name: kustomization
1719
resources:
1820
- ../../bases/nginx
1921
- Kptfile

0 commit comments

Comments
 (0)