►
From YouTube: Carvel Office Hours - March 25, 2021
Description
Carvel Office Hours - March 25, 2021
Details here: https://hackmd.io/5Bh2IXwTShSrA0YdBY4AGg
A
All
right,
hi
welcome
to
the
second
edition
of
carnival
office
hours.
This
is
being
recorded
and
will
be
uploaded
to
our
carnival
youtube
playlist,
a
reminder
to
please
read
and
abide
by
our
code
of
conduct
while
attending
these
meetings
and
the
purpose
of
of
this.
A
This
office
hours
meeting
is
just
to
have
an
open
space
for
discussion
topics
and
anything
that
you
or
you
know
anyone
from
the
community
needs
help
with
regarding
karmal
or
if
you
have
any
questions
regarding
the
tool
suite
or
would
like
help
getting
started
with
any
of
the
tools
in
the
carville
tool
suite
the
maintainers
are
available
in
the
office
hours
to
help
with
anything
you
may
need.
Regarding
any
of
that.
So,
first
up
on
the
agenda
today,
we
have.
B
Strings
and
helen,
I
think
you
said
you
yeah
so
as
aaron
and
I
were
kind
of
going
through
different
get-up
issues
in
the
backlog.
B
C
Support,
I
can
provide
some
context
behind
this
for
those
that
may
not
be
familiar
with
the
issue,
so
I
had
a
question
on
how
to
use
starlark's
multi-line
strings.
Like
this
example
here,
these
three
quotes
signify
a
starting
of
a
multi-line
string
and
the
end
of
it,
and
so
all
of
the
white
space
in
between,
in
that
example,
starting
with
asd
1,
should
be
preserved.
So
there'll
be
a
new
line
and
the
next
line
and
a
new
line
and
then
like
a
number
of
spaces.
C
Currently,
the
white
space
gets
removed
when
using
a
star
like
multi-line
string
and
results
in
everything
being
indented
the
same
amount.
C
So
this
is
because,
several
months
ago
we
encountered
an
issue
where,
when
having
a,
if
I'm
very
quickly,
it's
a
like
new
document,
start
in
between
two
segments
of
starlark
code,
the
starlark
parser
detected
an
indentation
error,
so
we
use
a
modified
version
of
starlark
in
ytt,
which
strips
white
space.
Hence
why?
When
you
start
a
function,
you
have
to
end
the
function
with
the
end
keyword.
C
So
we
wanted
to
basically
remove
starlark's
indentation
rules,
since
we,
you
know,
use
starlark
a
little
bit
differently
and
as
part
of
like
removing
that
indentation
error
that
happens
from
starlark,
we
removed
the
ability
to
have
starlight
multi-line
strings
because
we
removed
the
white
space.
C
B
Yeah
thanks
for
that
carrie,
you
know
I
just
wanted
to
get
a
feel
from
the
maintainers
versus
maintainers,
whether
this
is
something
we
want
to
support
sooner
than
right,
rather
sooner
or
later
so
yeah,
that's
kind
of
like
the
discussion.
I
was
hoping
that
you
know
or
a
conclusion
that
we
can
get
out
of
through
this
discussion
time.
C
I
also
just
add
there
is
a
workaround
for
this
right
now,
so
you
can
use
a
yaml
fragment
rather
than
a
starlight
function,
to
preserve
white
space
in
multi-line
strings.
It's
not
as
elegant
as
this.
Basically
because
you
have
to
use
the
ammo
fragment,
you
have
to
assign
that
multi-line
string
to
a
key.
B
And
I
think
this
was
brought
up
by
one
of
the
community
members
correct
carrie.
I
think
that's
how
it
kind
of
resurfaced:
yeah,
filippo,.
C
So
I
have
thoughts
on
this
like
there
is
a
workaround
for
this
solution,
but
the
user
experience
is,
I
think,
degraded,
so
it's
not
as
easy
as
if
we
did
support
starlark
multiline
strings.
E
D
B
B
C
The
issue
that
this
originated
from
has
some
considerations
for,
like
alternative
approaches,
how
we
can
still
keep
or
still
prevent,
starlark
indentation
error
and
keep
starlock
multiline
strings.
C
C
Not
exactly
easy
to
kind
of
know
what
the
implementation
implementation
implications
of
changing
the
starlark
parser
is
right
off
the
bat,
since
I
think
most
of
our
time,
working
on
code
and
ytt
is
is
definitely
outside
of
that
that
starlark
space
so
yeah.
I
can't
really
say,
but
there
may
be
some
more
detail
on
that
issue.
I'll
try
to
find
that
and
put
that
in
the.
B
I
could
go
ahead
and
yeah
put
this
in
the
higher
priority
column
in
the
unprioritized
backlog,
steven
you're,
going
to
say
something.
Sorry.
E
I
did
just
want
to
know
one
thing
that
the
in
the
two
either
cases
there
that
either
indentation
is
preserved
or
the
limitation
is
clearly
documented.
E
We
have
a
sort
of
tucked
away
note
in
the
ytt
docs
about
the
language
that
it
is
not
white
space
sensitive
and
to
me
that
sort
of
implies
that
if
you
have
a
multi-line
string,
we're
not
going
to
be
preserving
that
white
space.
E
A
A
Okay,
so
helen,
does
it
sound,
like
you,
have
an
action
item
regarding
this
to
move
to
a
higher.
B
A
Okay,
moving
on
we
have
should
we
support
regex
matching
for
images.
C
So
this
issue
details
a
use
case
for
k-build.
The
user
wants
to
resolve
an
image
reference
to
its
digest
form
and
that
image
reference
lives
in
a
string
so
I'll
annotate.
Here
the
image
reference
is
prefixed
by
some
image,
arg
and
so
normally
k
build,
can
detect
image.
C
References
based
on
this
string
starts
with
the
registry
that
the
image
is
in
cable
also
provides
a
way
to
match
images
based
on
their
key
or
other,
like
specific
configuration
that
you
can
provide
to
k-build,
but
it
doesn't
currently
support
any
type
of
regex
matching
that
would
be
needed
in
order
to
match
on
this
field.
That
has
a
prefix
of
a
string.
C
Dennis
suggested
that
you
can
use
a
environment
variable
to
reference
this
image,
which
then,
when
it
this
deployment
runs,
it
will
replace
that
environment
variable
with
your
image
name,
so
that
way,
cable
is
able
to
detect.
Based
on
this
key,
that's
named
value
that
this
is
an
image
reference
and
cable
should
resolve
it
to
its
digest
form.
C
C
There
were
a
couple
other
suggestions
thrown
out
there
that
are
really
cool.
Like
there's
this
idea,
I
think
at
the
bottom,
suggested
by
dimitri
of
like
a
solution
that
uses
ytt,
so
you
can
modify
this
configuration
using
ytt
to
use
a
similar
format
that
dennis
suggested,
if
you
don't
have
control
over
the
configuration.
F
F
C
C
Yeah,
it
was
cap.
D
Yeah,
I
don't
remember
the
specifics
of
that
cap
issue
that
we
were
suggesting
this
fix
for,
but
it
was
a
similar
kind
of
idea
where
it
was
a
break.
The
glass
feature
of
something
that
not
a
lot
of
people
do.
But
if
you
are
doing
it,
you
were
confident
that
you're,
confident
in
what
you're
doing
and
so
kind
of
giving
you
the
freedom
and
the
autonomy
to
do
what
you
need
to
do
with
this
feature.
F
If
we
decide
to
go
like
the
ytt
function
route,
instead
of
just
some
simple
regex
or
something
like
that,.
C
Yeah,
I
think
that
makes
a
lot
of
sense
like
if
we're
going
to
add
a
similar
functionality
to
cap.
Then
we
should
also
think
of
this
in
as
a
future
possible
for
k
build
if
I
were
correctly
based
on
what
geared
said
like
the
feature
in
cap
is
sort
of
a
more
advanced
feature
that
we
were
talking
about.
C
So
if
you
need
some
sort
of
ytt
templating
in
cap
you're
doing
something
that
is
a
more
advanced
use
case.
For
this
example,
this
seems
less
advanced.
We
pretty
much
just
want
to
match
on
a
string.
C
So
yes,
ytt
has
a
regex
library
that
would
be
helpful
here,
but
maybe
it's
more
heavyweight
than
we
need
like
cabled.
Als
already
has
configuration
that
can
be
used
to
change
how
it
matches
images.
F
How
does
that
currently
work
right
now,
like?
Is
it
just
like
it
works
by
looking
at
keys
and
stuff.
C
I
posted
a
link
in
the
chat
for
the
documentation
on
how
cable
currently
matches
keys
nancy.
If
you
want
to
open
that
up,
it
might
be
helpful
to
kind
of
view
that
all
together.
C
F
F
C
F
C
I
think
it
might
be
down.
Oh
it's
one
word.
C
C
But
the
actual
reference
is
under
schema,
so
there's
a
section
I
think
up
further
in
the
stock
yeah
yeah
yeah
under
schema.
There
just
go
down
just
a
tiny
bit
right
there
yep
thank.
C
You
yeah,
so
these
are
the
the
options
for
currently
configuring
how
you
can
match
on
image
names.
F
C
So
I'll
take
notes
of
this
conversation
and
propose
that
in
this
issue,
if
people
are
curious
or
have
thoughts,
love
to
carry
on
this
conversation
in
the
issue
and
get
to
a
point
where
yeah
we
feel
like,
we
can
propose
some
solution
to
this.
A
Okay,
thanks
carrie,
that
is
the
last
item
we
have
for
discussion
topics.
Is
there
anything
that
anyone
else
has
as
far
as
discussion
topics,
or
does
anyone
want
to
add
something
here
to
any
help
needed?
A
I
saw
that
we
have
pete
on
on
joined
us
pete.
I
believe
you
you
work
for.
G
Vmware
yeah,
I
do.
G
I
just
wanted
to
join
just
kind
of
out
of
curiosity
and
hear
the
process,
but
also
a
day
or
two
ago
I
posted
a
question
in
the
the
the
vmware
slack,
there's
a
project
that
I'm
working
on,
involving
taking
a
helm
chart
and
trying
to
find,
like
all
the
possible
permutations
of
image,
references
for
the
for
the
purpose
of
trying
to
rewrite
them
for
like
like
seeing
if
we
can
find
all
of
the
image
references
not
just
like
the
default
ones,
but
and
for
any
values
in
like
the
values
ammo
to
migrate,
all
of
those
references
or
all
those
images
into
a
private
registry.
G
So
I
just
kind
of
threw
that
out
there
and
trying
to
see
if,
if
the
the
tools
that
you
all
provide
would
would
work
for
that,
I
got
some
links
and
honestly,
I
haven't
gone
through
and
read
all
the
details
yet,
but
just
want
to
throw
that
out.
There.
C
I
haven't
seen
the
slack
conversation,
I
don't
think,
but
do
I
understand
the
problem
correctly
where
you
say
you
have
a
helm
template
and
it
has
image
references
in
it.
You
want
to
find
all
of
those
image,
references
and
collect
them.
G
G
Like
that
or
you
could
have
it
split
up
so
it's
you
know,
registry,
colon,
something
and
the
image
is
something
else.
There's
so
many
different
ways
that
you
could
like
reference,
an
individual
image.
So
I'm
trying
to
find
a
way
to
to
extract
all
of
the
images
that
could
be
used
by
that
helm,
chart
into
a
list
and
then
the
second
half
of
the
project
is
to
rewrite
either
directly
rewrite
the
helm,
chart
or
the
the
values
or
something
like
that,
so
that
it
can
update
to
a
different
registry.
G
An
example
home
chart
not
directly
at
this
moment.
F
G
The
one
idea
that
we
had
was
to
ask
the
author
of
the
helm
chart
to
provide
kind
of
like
a
like
a
search
path,
type
query
to
say:
okay,
here's
how
you
can
you
know
executing
this
query
against
your
chart
will
give
us
at
least
the
path
to
the
the
images
that
you've
defined,
and
then
we
can
use
that
as
a
hint
to
to
know
how
to
rewrite
them
smart.
G
But
I
was
just
kind
of
curious
to
see
if
there's
any
tooling
out
there
that
exists
to
define
that
without
asking
for
you
know,
modified
telemet
charts
to
ask
without
specifying
like
that,
the
helm
charts
need
to
be
written
in
a
certain
format
that
we
can
kind
of
take
anything
from
the
community
or
or
asking
for
extra
work
on
the
part
of
the
of
the
helm
chart
author.
F
I
think
some
of
the
cases
you
were
mentioning
might
be
a
little
more
difficult
or
not
able
to
be
handled
by
k-build,
and
I
think
another
aspect
that
could
be
tough
is
like
you're,
saying,
collecting
all
the
images
and
not
just
one
permutation
of
the
possible
ones,
but
because
I'm
not
sure
that
k
build
can
take
in
like
raw
helm
templates,
because
I
don't
think
they're
valid
ammo,
oh
yeah,
fair
enough,
which
means
that,
like
it,
would
only
be
able
to
work
on
rendered
templates
and
in
order
to
render
them
you'd
have
to
sort
of
switch.
F
G
C
Yeah
I
see
in
that
thread,
natasha
chimes
in.
I
know
that
she
is
doing
something
very
similar
and
was
able
to
use
the
post
render
feature
of
help
of
helm
to
basically
resolve
image
references.
C
E
A
Go
on
once
twice
all
right,
so
yeah!
Thank
you.
Everyone
for
joining
today,
some
really
great
discussion
to
be
had
if
you're
watching
this
from
home
and
would
like
to
join
us
for
another
meeting
or
office
hours
that
we
have.
We
do
have
our
carville
community
meetings
every
monday
at
11,
30
a.m,
pacific
time,
2,
30,
p.m.