Skip to content

How to pass flags to konlet in Google Container OS? #68

@fdcds

Description

@fdcds

I am running Google Container OS and would like to pass -open-iptables=no to konlet in order to not open a hole for all UDP and TCP traffic in the firewall:

if openIptables {
err = utils.OpenIptables()
if err != nil {
return fmt.Errorf("Cannot update IPtables: %v", err)
}
}

How do I do that?

Update 2021-09-23: In case this should be supported with the current systemd service file, maybe you can answer terraform-google-modules/terraform-google-container-vm#76 regarding how to do this with the Google Container Terraform module?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions